Define a domains addresses sole in terms of another

Chris Buxton 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.
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       207.46.19.254
lb1.www.ms.akadns.net.  105     IN      A       207.46.19.190
lb1.www.ms.akadns.net.  105     IN      A       207.46.193.254
lb1.www.ms.akadns.net.  105     IN      A       207.46.192.254

And the following is not uncommon, actually:

www	CNAME	@

Chris Buxton
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 mailing list