[nsd-users] CNAME for domain.tld failing

Anand Buddhdev anandb at ripe.net
Thu Jan 6 22:16:12 CET 2011


Hi Bobb,

What're you're trying to do is not allowed by the DNS protocol. When you
define a CNAME record for a name, you're aliasing that name to another
name. Since you're aliasing it, you can't also have other data for that
name.

Regards,

Anand Buddhdev
RIPE NCC

On 06/01/2011 22:01, Bobb Voigt wrote:
> I'm sure this has been documented _somewhere_ but i've been unable to
> find this, and every one i have talked to about has told me they just
> use a wildcard, but this would also break some of my sites.
> 
> I want to point mirrorhosts.com to shared002.accesshost.us, and this
> worked fine in nsd2, but after upgrading to nsd3 i get this error:
> 
> primary/vmp/mirrorhosts.com:15: error: CNAME and other data at the same name
> 
> if i was to use a wildcard such as:
> * IN CNAME shared002.accesshost.us.
> 
> i would be unable to point example.com at shared002.accesshost.us. and
> non explicitly specified names at shared003.accesshost.us
> 
> this is my current zone file for mirrorhosts.com:
> 
> $TTL 3600 ;authoritative data for mirrorhosts.com
> @		IN	SOA	ns.o-line.net.	hostmaster.o-line.net. (
> 				2010041401	;Serial Number: YYYYMMDDxx
> 				3600 		;Refresh time
> 				600 		;Retry Time
> 				3600		;Time
> 				600  		;Minimum TTL
> 				)
> 		IN	NS	ns1.accesshost.us.
> 		IN	NS	ns2.accesshost.us.
> 		IN	NS	ns3.accesshost.us.
> 
> 		IN	MX	10	shared001.accesshost.us.
> 
> 		IN	CNAME	shared002.accesshost.us.
> www		IN	CNAME	shared002.accesshost.us.
> webmail		IN	CNAME	shared001.accesshost.us.
> master		IN	A	208.94.246.114
> 
> ;nodes
> dist001		IN	A	66.90.110.163
> dist002		IN	A	208.53.136.68


More information about the nsd-users mailing list