Thread: DNS
View Single Post
  #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
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