cname quick question

Jim Reid jim at
Thu Mar 8 09:22:24 UTC 2001

>>>>> "Brad" == Brad Knowles <brad.knowles at> writes:

    Brad> At 12:06 AM +0000 3/8/01, Jim Reid wrote:
    >> The new DNAME record does this, though it probably should be
    >> used for a definite period of time - say for a migration
    >> project - rather than as a permanent fixture to some (old)
    >> domain name.

    Brad> 	Hmm.  Do you know of any code that recognizes and
    Brad> makes proper use of DNAMEs? 

The BIND9 name server.

    Brad> Should we be working hard to get this into sendmail, postfix, etc...?

I don't think so. If the applications query a BIND9 server, DNAME just
	% dig dname
	;; ANSWER SECTION:            86400   IN      DNAME
	% dig
	;; ANSWER SECTION:            86400   IN      DNAME     86400   IN      CNAME     86400   IN      A     86400   IN      A
	% ping
	PING ( 56 data bytes
	64 bytes from icmp_seq=0 ttl=255 time=0.704 ms
	64 bytes from icmp_seq=1 ttl=255 time=0.551 ms
	64 bytes from icmp_seq=2 ttl=255 time=0.589 ms

The first thing to note here is that the local zone file
only has NS records, a SOA and the DNAME. That zone file contains no
names for at all. The CNAME for
in the answer from the second dig does not really exist: the name
server faked it on the fly.

There could be some issues for mail systems that get CNAMEs returned
when they look for MX records because of DNAME trickery but I don't
think these would be show-stoppers.

More information about the bind-users mailing list