cnames in a zonefile?

Barry Finkel b19141 at achilles.ctd.anl.gov
Wed Feb 28 13:35:47 UTC 2001


 Johnny Damtoft <JOD at sonofon.dk> wrote:

>Is there any rules for how many cnames there is allowed in a zonefile?
>
>The reason for this question is, that i have a zone with some 2 cname
>records to the same server. When i add the third (3rd.) cname record for
>this exact same server, the zone failes and gives the error: 
>
>load: notice: /etc/dns/domain.dk.net:8:domain.dk: CNAME and OTHER data error
>load: warning: master zone "domain.dk" (IN) rejected due to errors (serial
>2001022804)
>
>Any ideas how to get arrount this? or is 2 cname records the max for a zone?
>or is it just me :o)?

There is no limit, I believe.  I think that the third CNAME you added
violates the "CNAME and OTHER data" restriction of the DNS RFCs.
This restriction has been discussed in detail in the past week; see
the archives.
----------------------------------------------------------------------
Barry S. Finkel
Electronics and Computing Technologies Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-9689
Building 221, Room B236              Internet: BSFinkel at anl.gov
Argonne, IL   60439-4844             IBMMAIL:  I1004994



More information about the bind-users mailing list