Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 18:20:24 -0700
From:      Eric Hodel <drbrain@segment7.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: named/AAAA/resolver not failing correctly with CNAME
Message-ID:  <6c4c920593cad7dd5ebe1346ad44c9c6@segment7.net>
In-Reply-To: <ddb6e5d4c93d1d8ec89c1c7c3f84d473@robotcoop.com>
References:  <ddb6e5d4c93d1d8ec89c1c7c3f84d473@robotcoop.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25 Apr 2005, at 14:09, Eric Hodel wrote:

> Starting last week, AAAA queries for domains are not "failing" 
> correctly when the domain being looked up is a CNAME for an A record.
>
> Instead of getting back a response indicating there is no AAAA record, 
> the resolver continues to look for a AAAA record until a timeout (a 
> minute or so), where it then switches to looking for an A record, 
> which is found immediately (as a CNAME).

Here it is even more simply, the first query should give something like 
the third.

$ host -t AAAA www.43things.com
$ host -t AAAA www.43things.com dns.sea1.speakeasy.net
Using domain server:
Name: dns.sea1.speakeasy.net
Address: 66.93.87.2#53
Aliases:

www.43things.com is an alias for 43things.com.
$ host -t A www.43things.com
www.43things.com is an alias for 43things.com.
43things.com has address 65.61.137.67
$ host -t A www.43things.com dns.sea1.speakeasy.net
Using domain server:
Name: dns.sea1.speakeasy.net
Address: 66.93.87.2#53
Aliases:

www.43things.com is an alias for 43things.com.
43things.com has address 65.61.137.67

-- 
Eric Hodel - drbrain@segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c4c920593cad7dd5ebe1346ad44c9c6>