[Pdns-users] CNAME recursion
Radek Hladik
pdns-user.conf at bearbone.twobears.cz
Sun Aug 8 16:43:38 UTC 2004
Derrik Pates wrote:
> Radek Hladik wrote:
>
>> So I wanna ask is this normal behavior? I can turn skip_cname to yes
>> and let the client to do the resolving but I think that the server
>> should do this.
>
>
> If the server is an authoritative server, and isn't set up to do
> recursion (and a proper authoritative server _really_ ought not be doing
> recursion anyway), then no, it will not and should not dereference the
> CNAME for the client. Any proper DNS client library will definitely try
> to resolve the target of the CNAME on its own. It's not the server's
> job, particularly if the target of the CNAME falls outside its scope of
> authority (I.e., it's not an authoritative server for the zone that the
> target exists in). If the server happens to know it, it should by RFC
> definition append the appropriate records to its answer section; but the
> reply is still perfectly valid if it doesn't.
>
Ok, but why it returns 'non-exist' when it cannot find the CNAME target?
I would suppose it will always return the CNAME record and eventually
the dereferenced target.
Radek Hladik
More information about the Pdns-users
mailing list