abbreviated zone data question

David Botham DBotham at OptimusSolutions.com
Fri Nov 5 22:46:19 UTC 2004


bind-users-bounce at isc.org wrote on 11/05/2004 04:02:29 PM:
> If I'm abbreviating a zone, allowing the origin to populate it, is it
> OK to do:
> 
> 
>    IN A   xxx.xxx.xxx.xxx
> www   IN CNAME
> ftp   IN CNAME

You would want to do this:


@     IN A      xxx.xxx.xxx.xxx
www   IN CNAME  @
ftp   IN CNAME  @

The '@' symbol is important.  It is the 'origin' substitution character.

> 
> 
> or would I have to do:
> 
> www   IN A   xxx.xxx.xxx.xxx
> ftp   IN CNAME   www
>    IN CNAME   www

The above will not work.  The last cname RR (assuming you used the @ sign 
as shown above) would violate the cname and other data rule.  In other 
words, the domain name itself already owns NS RR's and an SOA RR.  What 
ever owns (is on the left side of) a CNAME RR cannot own (be on the left 
side of) any other RR's.


hth,


Dave...

> 
> TiA, Andrew
> 
> 




More information about the bind-users mailing list