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 17th August 2008
schrodinger's Avatar
schrodinger schrodinger is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ireland
Posts: 69
Thanked 2 Times in 2 Posts
Default DNS

Running OpenBSD 4.3 and noticed after the install everything has a slight delay in connecting to where I want to go. Realised that using the "-4" switch with everything that it was because everything was trying IPv6 first. Turns out that it's just the resolver looking for IPv6 records when trying to resolve something.

Code:
16:35:01.857501 192.168.1.200.37444 > 192.168.1.254.53: [udp sum ok] 2489+ AAAA? www.google.com. (32) (ttl 64, id 60159, len 60)
16:35:06.862732 192.168.1.200.37444 > 192.168.1.254.53: [udp sum ok] 2489+ AAAA? www.google.com. (32) (ttl 64, id 11068, len 60)
16:35:11.872879 192.168.1.200.34052 > 192.168.1.254.53: [udp sum ok] 15209+ AAAA? www.google.com.konundrum.org. (46) (ttl 64, id 13656, len 74)
16:35:15.978486 192.168.1.254.53 > 192.168.1.200.34052: [udp sum ok] 15209 NXDomain- 0/0/0 (46) (ttl 255, id 35698, len 74)
16:35:15.978983 192.168.1.200.3278 > 192.168.1.254.53: [udp sum ok] 47919+ A? www.google.com. (32) (ttl 64, id 26604, len 60)
16:35:16.529135 192.168.1.254.53 > 192.168.1.200.3278: 47919 4/0/0 www.google.com. CNAME www.l.google.com., www.l.google.com.[|domain] (ttl 255, id 35700, len 128)
Code:
$ host www.google.ie
www.google.ie is an alias for www.google.com.
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 216.239.59.104
www.l.google.com has address 216.239.59.147
www.l.google.com has address 216.239.59.103
www.l.google.com has address 216.239.59.99
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
Is there a way to stop this? Or just to make it default to IPv4 only records?
__________________
It was a new day yesterday, but it's an old day now.

Last edited by schrodinger; 17th August 2008 at 03:52 PM.
Reply With Quote
  #2   (View Single Post)  
Old 18th August 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Thanked 35 Times in 31 Posts
Default

By what you've shown, I'm not sure what you're looking at to see that it's "looking for IPv6 records."

There is an IPv6 zone section in named.conf that you could comment out if you think this is the case... but perhaps the dns servers you are using could be what's to blame... in my experience, when I see a delay but eventual resolution, it's because the first stated dns server times out and the second actually works...

Or am I missing what you are saying completely?
__________________
Network Firefighter
Reply With Quote
  #3   (View Single Post)  
Old 18th August 2008
schrodinger's Avatar
schrodinger schrodinger is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ireland
Posts: 69
Thanked 2 Times in 2 Posts
Default

this seems to happen everywhere though, it's not a specific set of DNS servers....friends DSL, work and a net cafe. Had to change the ftp command for the ports to include "-4". Same with SSH. With opera pages takes alot longer than usual to load because of all the embedded links that comes with most web pages. By the time it's resolved most URLs some stuff has timed out and I'm forced to refresh which just tries AAAA records again and then eventually resolves for the A or CNAME.
__________________
It was a new day yesterday, but it's an old day now.
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


All times are GMT. The time now is 10:21 PM.


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