cnames in a zonefile?

Jim Reid jim at rfc1035.com
Wed Feb 28 08:28:46 UTC 2001


>>>>> "Johnny" == Johnny Damtoft <JOD at sonofon.dk> writes:

    Johnny> Is there any rules for how many cnames there is allowed in
    Johnny> a zonefile?

No. The limit is the ability of your OS to allocate memory for storing
them, just as it is for any other resource records in a zone file.

    Johnny> load: notice: /etc/dns/domain.dk.net:8:domain.dk: CNAME and OTHER data error

    Johnny> Any ideas how to get arrount this?

Fix the problem the logs told you about. You have added a CNAME for a
name that already exists in the zone. This is illegal. A name that
exists as a CNAME cannot exist as a name of any other record type.
(Except SIG and NXT records if DNSSEC is in use.) The name at line 8
of the domain.dk zone file is found elsewhere in the file.


More information about the bind-users mailing list