CNAMES and OTHER data

Harold Pritchett harold at uga.edu
Tue May 15 22:33:04 UTC 2001


Marc Storck wrote:
> 
> Hello,
> 
> I would like to know if there is a workaround for this illegal case:
> 
> $ORIGIN foo.com
> 
> @    IN    SOA ........
> @    IN    NS    ns1.foo.com.
> @    IN    CNAME    foo.net.
> 
> This gives a "CNAMES and OTHER data" error but is there a workaround.

I;m not sure exactly what you are trying to do.  If you want both
foo.net and foo.com to point to the same domain, you can do it this way:

In named.conf:

zone "foo.net" {
        type master;
        file "foo.db";
};

zone "foo.com" {
        type master;
        file "foo.db";
};

Where foo.db contains the zone data.

Harold
-- 
Harold Pritchett
The University of Georgia
harold at uga.edu


More information about the bind-users mailing list