[nsd-users] CNAME from another zone

Niall Donegan niall at moybella.net
Tue Mar 10 16:28:56 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mohammad,

Have a look at http://www.faqs.org/rfcs/rfc1912.html Section 2.4. A
CNAME can't co-exist with other data. So if you take out the MX record
for lists.tag-legal.com. you should be good to go.

The resolver will then see that lists.tag-legal.com. is pointing at
lists.tagorg.com. and check the MX records on lists.tagorg.com.

Niall.

Mohammad H. Al Shami wrote:
> Hi,
> 
> Thanks for you prompt response.
> 
> Well I wasn't being cryptic, I just wrote an example from my mind. DNS as you know is a public database :). Anyways, here is a complete zone file.
> 
> $TTL    86400
> @       IN      SOA     ns1.tagidomains.com.    mail.tagidomains.com. (
>         2009031001      ;       Serial YYYYMMDDnn
>         16384     ;       Refresh
>         2048       ;       Retry
>         1048576      ;       Expire
>         2560)    ;       Minimum
> autodiscover.tag-legal.com. 3600    IN A           89.28.217.25
> www.tag-legal.com.        3600    IN A           89.28.217.117
> demo.tag-legal.com.       3600    IN A           89.28.217.116
> tag-legal.com.            3600    IN A           89.28.217.117
> lists.tag-legal.com.      3600    IN CNAME       lists.tagorg.com.
> lists.tag-legal.com.      3600    IN MX     10   mx1.tagorg.com.
> lists.tag-legal.com.      3600    IN MX     10   mx2.tagorg.com.
> lists.tag-legal.com.      3600    IN MX     20   mx3.tagorg.com.
> tag-legal.com.            3600    IN MX     10   mx2.tagorg.com.
> lists.tag-legal.com.      3600    IN MX     20   mx4.tagorg.com.
> tag-legal.com.            3600    IN MX     10   mx1.tagorg.com.
> tag-legal.com.            3600    IN MX     20   mx4.tagorg.com.
> tag-legal.com.            3600    IN MX     20   mx3.tagorg.com.
> tag-legal.com.            3600    IN NS          ns3.tagidomains.com.
> tag-legal.com.            3600    IN NS          ns1.tagidomains.com.
> tag-legal.com.            3600    IN NS          ns2.tagidomains.com.
> 
> Where lists.tagorg.com is the primary hostname of my mailman server.
> 
> The system consists of a patched version of VegaDNS running on MySQL with a perl backend that generates all the zone files, then checks them with zonec and compiles the NSD database. 
> 
> Thanks again,
> Mohammad
> ________________________________________
> From: Ondřej Surý [ondrej at sury.org]
> Sent: Tuesday, March 10, 2009 6:06 PM
> To: Mohammad H. Al Shami
> Cc: nsd-users at nlnetlabs.nl
> Subject: Re: [nsd-users] CNAME from another zone
> 
> On Tue, Mar 10, 2009 at 16:31, Mohammad H. Al-Shami <mshami at tagorg.com> wrote:
>> Hi guys,
>>
>> I've been using NSD for about a year now and I love it. But I've been facing something strange for a while now and thought I should share.
>>
>> I have a mailman server hosting around 40 mailing lists using different domain names. The thing is, I'd like to use an A record for the primary host name and use CNAME records for the other domains. Lets say my server was lists.domain.tld, and I want to have another host name lists.domain2.tld. Having
>>
>> lists.domain2.tld.      3600    IN CNAME       lists.domain.tld.
>>
>> Will generate the following error:
>>
>> CNAME and other data at the same name
>>
>> I've googled for this error but to no avail. any ideas? BTW both domain.tld and domain2.tld are hosted on my server.
> 
> You have other RR (including double CNAME) with same owner (ie. name
> lists) in the zone file for domain2.tld
> 
> But being crypting and trying to hide real names doesn't really help
> debugging your problem
> 
> Ondrej
> --
> Ondřej Surý <ondrej at sury.org>
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm2lT8ACgkQtYqd1KeuQA/KxQCfQGFA+oMZ3+r1RkYIlsuegZ0g
kWcAoJQZdDzOeLMY5EBoyLxH5D/Ypsbj
=I9KT
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list