[Pdns-users] CNAME recursion

Derrik Pates dpates at dsdk12.net
Sun Aug 8 14:17:22 UTC 2004


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.

-- 
Derrik Pates
dpates at dsdk12.net



More information about the Pdns-users mailing list