Date: Tue, 7 Dec 2004 09:37:09 +0000 From: David Malone <dwmalone@maths.tcd.ie> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-hackers@freebsd.org Subject: Re: hostname lookup problem Message-ID: <20041207093709.GA41269@walton.maths.tcd.ie> In-Reply-To: <20041206195709.A332@curly.tele2.no> References: <20041206195709.A332@curly.tele2.no>
index | next in thread | previous in thread | raw e-mail
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.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041207093709.GA41269>
