[Pdns-users] CNAME records are not returned in answer section by default
Christian Hofstädtler
ch at zeha.at
Sat Sep 4 19:43:19 UTC 2010
Judging from the 'dig' output, the auth server believes it's responsible for the root zone.
-ch
On 04.09.2010, at 00:34, Derrik Pates <demon at devrandom.net> wrote:
> 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
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list