Re: domain name entries in a zone

This is a discussion on Re: domain name entries in a zone within the Bind Users forums, part of the DNS and Related Forums category; >>>>> "Preston" == Preston Wade <Preston_Wade@hilton.com> writes: Preston> Some customers ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-28-2004
Jim Reid
 
Posts: n/a
Default Re: domain name entries in a zone

>>>>> "Preston" == Preston Wade <Preston_Wade@hilton.com> writes:

Preston> Some customers would even like a CNAME record for the
Preston> domain name, so = that they could have a primary domain
Preston> and have other domains CNAME to = the primary domain.

If you're trying to do what I think you're trying to do, CNAMEs don't
work that way.

Preston> I have tested this in BIND 9 and it doesn't seem to = like
Preston> the CNAME record for a domain. I have found very little
Preston> about this = topic on the web so I figured this list
Preston> could provide me some direction.

RFC1034 is very clear about this. I quote: If a CNAME RR is present at
a node, no other data should be present. This means that if a name
exists as some other resource record, the name cannot also exist as a
CNAME. [For any pedants, this restriction has been eased for DNSSEC so
that a CNAME can also have DNSKEY, RRSIG and NSEC records: the new
names for the DNSSEC record types.] RFC2181 makes the issue about
CNAME usage more explicit. BIND9 enforces what the DNS protocol says
about CNAMEs, as you have found out from your tests. Your customer's
domain name will have a SOA record, at least 2 NS records and maybe
some MX and A records. Therefore that name cannot also be a CNAME.

So save you looking up RFC2181, here's the start of what it has to say
about CNAMEs:


10.1. CNAME resource records

The DNS CNAME ("canonical name") record exists to provide the
canonical name associated with an alias name. There may be only one
such canonical name for any one alias. That name should generally be
a name that exists elsewhere in the DNS, though there are some rare
applications for aliases with the accompanying canonical name
undefined in the DNS. An alias name (label of a CNAME record) may,
if DNSSEC is in use, have SIG, NXT, and KEY RRs, but may have no
other data. That is, for any label in the DNS (any domain name)
exactly one of the following is true:

+ one CNAME record exists, optionally accompanied by SIG, NXT, and
KEY RRs,
+ one or more records exist, none being CNAME records,
+ the name exists, but has no associated RRs of any type,
+ the name does not exist at all.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0