DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th January 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default Sigh ... self-inflicted wounds

I was just typing up a new thread here to ask a question. Yup. Me. I was lost for several hours trying to debug a new configuration problem. I'd just deployed IPv6 on the home network for the first time, but it was only partially working. Domain queries from browsers were returning NXDOMAIN (unresolved domain name), but direct IPv6 URLs were working normally, and debugging tools worked normally.
  • ping6(8) and traceroute(6) worked fine by domain name.
  • dig(1) was finding AAAA records just fine when I asked for them.
  • PF was passing DOMAIN records without blocking them, both over IPv4 and IPv6.
Unfortunately, the queries from the browsers were for A records, not AAAA.

I checked the browsers. Firefox had the default setting of network.dns.DisableIPv6 = False, so it should have received the AF_INET6 resolution. Chrome no longer has this as a user configurable setting.

So I searched, and searched. No results. I added IPv6 domain resolution locally. I changed unbound(1) settings to accept them. I even switched from using local unbound resolving to resolving from Google's IPv6 nameservers, in case it was my local resolution configuration. Nothing seemed to help. So ... I began typing up a problem post in this thread, to ask if anyone here had seen this before. And as I was about to post it, checking for typos (yes, I know, I'm always posting typos even after checking) ... I went back and looked at the resolv.conf file I'd been editing repeatedly for more than an hour. Here's what I finally noticed:
Code:
family inet4
Uh. That eliminates any AAAA queries by default. They can be requested specifically, which is what ping6(), traceroute6() and dig() with an AAAA option will do.

So I rewrote this thread. No need to ask for help, now.

Reply With Quote
  #2   (View Single Post)  
Old 15th January 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default


That's the type of situations I get into "ALL" the time!, NO Exceptions.....

Correction/Addition
Yea, and if I got the hint of what the problem was, I would have gone to resolv.conf FIRST ONLY
Because I am not smart enough to look where you looked prior to going to that file. Hope this post is taken as meant.

Last edited by frcc; 15th January 2017 at 02:01 PM.
Reply With Quote
  #3   (View Single Post)  
Old 15th January 2017
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 314
Default

Quote:
Originally Posted by jggimi View Post
So I rewrote this thread. No need to ask for help, now.
Heh, I was in a very similar situation just five days ago. I was typing my praise topic for OpenBSD's autoinstall and wanted to add just a minor question pertaining to it just below. But while I was copying over the relevant config files to the daemonforums edit window I realised it was just a typo in my config file. So need to ask for help, either. I think those are the best moments.
Reply With Quote
  #4   (View Single Post)  
Old 15th January 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by frcc View Post
I would have gone to resolv.conf FIRST ...
But I'd been staring at the resolv.conf file for two hours, and it is only 7 lines long. How could I miss that???
Quote:
..Hope this post is taken as meant.


Quote:
Originally Posted by fvgit View Post
Heh, I was in a very similar situation just five days ago. ... I think those are the best moments.
I don't think they're "best."

Reply With Quote
  #5   (View Single Post)  
Old 15th January 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

I burned some bandwith and disk space trying to set up different lpr print ques. Documented my oversights too

Last edited by shep; 16th January 2017 at 07:47 PM.
Reply With Quote
  #6   (View Single Post)  
Old 16th January 2017
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

It's good to be self-correcting. I used to have that feature, but these days I'm not so sure, and I think the warranty has expired.
Reply With Quote
  #7   (View Single Post)  
Old 17th January 2017
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 345
Default

Glad you decided to post, shows that everyone has 'one of those days' now & again.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #8   (View Single Post)  
Old 17th January 2017
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

Unfortunately, when it comes to computers, I have one of those days every day.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigh... jggimi Other OS 23 25th November 2009 07:52 AM


All times are GMT. The time now is 07:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick