hostname lookup problem

David Malone dwmalone at maths.tcd.ie
Tue Dec 7 01:37:11 PST 2004


On Mon, Dec 06, 2004 at 07:57:09PM +0100, Hans Petter Selasky wrote:
> I have come across a problem where res_send() goes into a minute-long wait 
> loop, waiting for the hostname to be looked up, after a getaddrinfo() call. I 
> have captured the packets sent/received, and according to the code the 
> query response does not match. Is this a bug in libc or is it a DNS server 
> problem? 

It looks like the recursive name server is doing something weird.
Can you have a look in your /etc/resolv.conf and get the IP address
for your name server and then do:

        dig aaaa www.google.com @IP_ADDRESS_OF_NAME_SERVER
        dig a www.google.com @IP_ADDRESS_OF_NAME_SERVER

Do you know what is acting as your recursive DNS server?

	David.


More information about the freebsd-hackers mailing list