djbdns
[Top] [All Lists]

Re: Pointing a domain to a domain

To: DJBdns Mailing List <dns@list.cr.yp.to>
Subject: Re: Pointing a domain to a domain
From: Kyle Wheeler <kyle-djbdns@memoryhole.net>
Date: Tue, 13 Mar 2007 10:56:49 -0700
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-djbdns@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list dns@list.cr.yp.to
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=YBSFkL2ukpmoCscGYl16zRffTGrOK1k0Jtavxkv0YFUW9sQbCsdUz70l2eWmDrJVW6VxJI7f82HlU/BlFsYiaml/qjMl1l2XG8GCu/VBmv2FNBalcGTQ8hcSQ/eVouytIAdXkMb6i5LBJ/Sl/T1O9RPLClfQf1OPVUapQ4zacBg= ;
Domainkey-status: good
In-reply-to: <20070313102605.B6041@hercules.jkdwebmagic.com>
Mail-followup-to: DJBdns Mailing List <dns@list.cr.yp.to>
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
References: <20070313102605.B6041@hercules.jkdwebmagic.com>
User-agent: Mutt/1.5.13 (2007-01-26)
On Tuesday, March 13 at 10:26 AM, quoth Jonathan Duncan:
However, I am wondering, is there a way to poing the domain name to another domain name like they requested? In case they change the IP of the domain so that it will always be correctly pointing to whatever IP ghs.google.com is using.

Use a CNAME.

As I have read, using the CNAME option is frowned upon.

CNAME is not so much frowned upon as it is frequently misused and/or misunderstood. CNAME is a *full* mapping, which means, for example, that if you have example.com set up as a CNAME for foo.com, then mail addressed to user@example.com will be delivered as if it had been addressed to user@foo.com (MX records for example.com will not be honored)---in some cases, mail servers actually rewrite the recipient address (whether they should or shouldn't is another matter). It also can have issues when you map a CNAME to another CNAME (imagine, for example, setting up an infinite chain of these---or a loop).

But, to do what you want to do, that's the only option. The only alternative is to set up a cron job to regularly look up the IP address and update your cdb.

For more information, read this: http://cr.yp.to/im/cname.html

~Kyle
--
Make no little plans. They have no magic to stir men's blood.
                                                    -- Daniel Burnham

Attachment: pgpVu5jyRszqk.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>