Define a domains addresses sole in terms of another
cbuxton at menandmice.com
Mon Jul 9 21:33:35 UTC 2007
You most certainly can chain CNAME records. Witness:
www.microsoft.com. 2793 IN CNAME
toggle.www.ms.akadns.net. 104 IN CNAME g.www.ms.akadns.net.
g.www.ms.akadns.net. 104 IN CNAME lb1.www.ms.akadns.net.
lb1.www.ms.akadns.net. 105 IN A 126.96.36.199
lb1.www.ms.akadns.net. 105 IN A 188.8.131.52
lb1.www.ms.akadns.net. 105 IN A 184.108.40.206
lb1.www.ms.akadns.net. 105 IN A 220.127.116.11
And the following is not uncommon, actually:
www CNAME @
Men & Mice
On Jul 9, 2007, at 2:26 PM, Stephane Bortzmeyer wrote:
> On Mon, Jul 09, 2007 at 09:49:48PM +0100,
> John Steel <john.steel at phonewebcam.com> wrote
> a message of 71 lines which said:
>> Do you mean like this?
> Not exactly.
>> Why are there 3 NS recs now?
> You did not translate the first file you posted. The first file said
> (with absolute domain names):
> example1.com. IN NS ns.example1.com.
> example1.com. IN NS ns0.example1.com.
> example1.com. IN NS ns0.example1.net.
> Translated in relative, it should have been:
> @ IN NS ns
> IN NS ns0
> IN NS ns0.example1.net.
>> www IN CNAME @
> Bad idea, because www would inherit all the records of example.com.
>> webmail IN CNAME www
> Forbidden, you cannot have a CNAME going to a CNAME.
More information about the bind-users