Adding CNAME for the root domain issue

Stephane Bortzmeyer bortzmeyer at nic.fr
Wed Apr 27 12:14:43 UTC 2016


On Wed, Apr 27, 2016 at 02:55:18PM +0300,
 Daniel Dawalibi <daniel.dawalibi at idm.net.lb> wrote 
 a message of 99 lines which said:

> We are facing a resolving problem on BIND DNS when adding a CNAME RR
> for root domain and other records.

I don't think that you manage the root domain so you probably mean
that you want to add a CNAME to *your* domain?

> Domain.com  CNAME  x.y.com

Short answer: don't do it. Bad idea. And unecessary since all Internet
protocols (with one big exception) allow you to separate the domain
from the server gosting the domain.

Long answer: the unfortunate exception is HTTP :-( A possible solution
is to add address records (A and AAAA) to domain.com. (don't forget the
dot at the end). True, it requires that you keep track of the changes
in x.y.com., but this is the only clean solution.



More information about the bind-users mailing list