|
<- Previous Message | Next Message -> Thread Index [isp-dns] Re: DNS zone!
On Fri, Jan 24, 2003 at 06:50:44PM -0500, Danny wrote: | I would use A records where possible. | | www.123.com. IN A 10.0.0.1 | 123.com. IN A 10.0.0.1 | | P.S. There are some important rules about CNAMEs that you need to | be aware of: | | 1) You cannot point an MX record or an NS record at a CNAME. So your | delegation and MX targets (Internet SMTP mail server names) must still | be A records. | | 2) If a name owns a CNAME record, it cannot own any other records. The | most common gotcha associated with this rule is that the name of a zone | cannot own a CNAME (because then the SOA and NS records owned by the | name would violate the rule). | | More information out there on the web - RFC's, etc. So why do I so often see things like: example.com. IN A 10.20.30.40 IN MX 1 mail.example.com. mail.example.com. IN A 10.30.50.70 www.example.com. IN CNAME example.com. as opposed to: example.com. IN A 10.20.30.40 IN MX 1 mail.example.com. mail.example.com. IN A 10.30.50.70 www.example.com. IN A 10.20.30.40 IN MX 1 mail.example.com. Is the CNAME practice what is taught in books, courses, etc, or are people just blindly copying from bad examples? -- ----------------------------------------------------------------- | Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ | | phil-nospam@ipal.net | Texas, USA | http://ka9wgn.ham.org/ | -----------------------------------------------------------------
Thread Index |