[Pdns-users] Strange CNAME behavoir

Lehel Bernadt lists at pmc-services.hu
Thu Aug 5 20:12:11 UTC 2004

This is normal behaviour, for the simple reason that a CNAME record is 
intended to be a redirection.

The algorithm is the following: if you have a question to the name server 
([record name] + [type]), the server checks if [record name] has a CNAME 
entry, and if it does then re-asks the question with the canonical name of 
[record name].
So example.com + SOA becomes example.org + SOA.

The consequence of this behaviour is that if you have a CNAME for [record 
name], all the other entries for [record name] will be ignored, since the 
redirection will bypass them.

If this is not clear enough, you should read the relevant RFCs.

More information about the Pdns-users mailing list