Re: CNAME related queries...

Matthew Dempsky <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Thu, Apr 23, 2009 at 11:45 PM, Shinoj V Gangadharan
<[email protected]> wrote:
> I am planning to setup a CNAME like :

It would be better for clients if you can just publish the records
under both names.  It will save them having to restart their queries.

> aaa.mydomain.com CNAME aaa.myotherdomain.com
>
> 1. aaa.myotherdomain.com has mx and txt records for spf. I am assuming
> that these mx and txt records will also work for aaa.mydomain.com . Is
> this correct? I could not find anything against this kind of setup in my
> search.

Yes and no.  Recursive MX/TXT queries for aaa.mydomain.com will return
a CNAME record pointing to aaa.myotherdomain.com along with
aaa.myotherdomain.com's MX/TXT records, but you should be aware that
SMTP requires clients to rewrite [email protected] to
[email protected] before sending it.  This may or may not be a
problem for you.

> 2. I also want to add :
>
> bbb.aaa.mydomain.com CNAME bbb.myotherdomain.com
>
> Will this be a violation of the rule against co-existance of CNAME with
> other records? Asking because aaa.mydomain.com is already a CNAME
> record.

No, this does not violate that rule.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.