[157374] in North American Network Operators' Group
Re: DNS hostnames with a duplicate CNAME and A record - which should
daemon@ATHENA.MIT.EDU (Andrew Sullivan)
Wed Oct 17 15:41:55 2012
Date: Wed, 17 Oct 2012 15:41:24 -0400
From: Andrew Sullivan <asullivan@dyn.com>
To: nanog@nanog.org
In-Reply-To: <CABgOHgs7Da6xMo5Zx4+a72hqPYpdMeautr+1=pTM06FPUi-sPw@mail.gmail.com>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
On Wed, Oct 17, 2012 at 12:25:49PM -0700, Landon Stewart wrote:
> hostname that have both a CNAME as well as an A record, MX record, SOA
> record and/or NS record. Is there an easy answer for what should be
> removed?
"You should remove the one that you don't need." A CNAME may not be
at the same owner name as any other RR. If you need an alias, then
you want a CNAME. If you need some other record, you need not to have
a CNAME.
If you think about what a CNAME is, it is obvious that it can't exist
at the same name as any other RR, because it says "this name is
actually that name over there".
> Should the CNAME just get nuked in all of these cases?
Probably.
A
--
Andrew Sullivan
Dyn Labs
asullivan@dyn.com