You get the following error while loading (or reloading) a zone:

  rndc: 'reload' failed: CNAME and other data


You have probably two entries of the same name in the zone file of that domain (usually in “$BIND_ROOT/var/named/”), i.e.:

  mail   IN  CNAME
  mail   IN  A

You can also check your zone file using the following command:

# named-checkzone /var/named/
dns_master_load: /var/named/ CNAME and other data
zone loading master file /var/named/ CNAME and other data

If you do not have access to zone files and you want just to see the whole zone, use the following command:

# dig axfr @master-server > tmp

Then just examine the tmp file:

# named-checkzone tmp


Remove one of your duplicate entries and reload your zone (or name server).

  # rndc reload
Tagged on:     

Leave a Reply