problem with DNS lookups on non-IPv4-only-mode?

Darren Tucker dtucker at zip.com.au
Wed Jun 9 15:52:07 EST 2004


Kendell Welch wrote:
> server:~> ./a.out mirror.qkimg.net
> mirror.qkimg.net:1383 getaddrinfo(85.207s) getnameinfo(0.000s)
[...]
> Clearly, there's a problem with at least two of these Domain Names.  Is it
> misconfigured DNS?  Your program appears to call pure libraries...is this
> a bug in glibc?

Looks like busted DNS for those problem domains.

$ nslookup -silent
 > set type=soa
 > qkimg.net.
Server:         192.168.32.1
Address:        192.168.32.1#53

Non-authoritative answer:
qkimg.net
         origin = ns2.cj.com
         mail addr = techops.cj.com
         serial = 2003043009
         refresh = 3600
         retry = 900
         expire = 604800
         minimum = 3600

Authoritative answers can be found from:
qkimg.net       nameserver = ns2.cj.com.
qkimg.net       nameserver = ns3.cj.com.
 > server ns2.cj.com.
Default server: ns2.cj.com.
Address: 216.34.209.26#53

 > set type=a
 > mirror.qkimg.net.
Server:         ns2.cj.com.
Address:        216.34.209.26#53

Non-authoritative answer:
mirror.qkimg.net        canonical name = c.mii.instacontent.net.
Name:   c.mii.instacontent.net
Address: 65.216.116.114

 > set type=aaaa
 > mirror.qkimg.net.
[..hangs..]
;; connection timed out; no servers could be reached

 > set class=chaos
 > set type=txt
 > version.bind
Server:         ns2.cj.com.
Address:        216.34.209.26#53

VERSION.BIND    text = "8.3.4-REL"

tcpdump shows the AAAA requests being sent, but no answer is received. 
It looks like the DNS server just drops the requests rather than sending 
a negative reply.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list