Adding CNAME for the root domain issue

Stephane Bortzmeyer bortzmeyer at nic.fr
Wed Apr 27 14:25:24 UTC 2016


On Wed, Apr 27, 2016 at 01:56:27PM -0000,
 John Levine <johnl at iecc.com> wrote 
 a message of 23 lines which said:

> Assuming you mean this (notice the dots):
> 
>  Domain.com.  CNAME  x.y.com.
>  www     CNAME x.y.com.
> 
> it should work.

I disagree. I have the same experience as Daniel Dawalibi, it does not
work (BIND 9.10.3-P4):

27-Apr-2016 16:22:43.351 dns_master_load: foobar.example:15: foobar.example: CNAME and other data

And if I delete the "other data" (the NS and the SOA records), it also
fails:

27-Apr-2016 16:24:16.410 zone foobar.example/IN: has 0 SOA records
27-Apr-2016 16:24:16.410 zone foobar.example/IN: has no NS records
27-Apr-2016 16:24:16.410 zone foobar.example/IN: not loaded due to errors.

> Some people believe that you can't have other records at names below
> a name with a CNAME, but they are mistaken.

But that's not the problem, the problem is that you can alias a domain
name with CNAME but not a zone name.


More information about the bind-users mailing list