[Pdns-users] CNAME records are not returned in answer section by default
Derrik Pates
demon at devrandom.net
Fri Sep 3 22:34:02 UTC 2010
On 09/03/2010 03:06 AM, Walery Studennikov wrote:
> When I ask A record for domain and A record dowsn't exists, but CNAME
> record exists instead, I want pdns to return CNAME records and
> status:NOERROR, but now it doesn't.
Actually, after a bit more looking, it looks like the only time a CNAME
would get an NXDOMAIN is if the nameserver thinks it has authority for
the target zone; SERVFAIL would be the correct response code if it's
out-of-bailiwick. Does your server have a declaration for google.com? Or
for '.'? Or something like that? If so, you should definitely see about
correcting that. But either way, you don't want your nameserver
returning NOERROR for a CNAME that points to an out-of-bailiwick zone
when asking for an A record; that's definitely broken.
--
Derrik Pates
demon at devrandom.net
More information about the Pdns-users
mailing list