Best implementation of many zonfiles containing the same info (to avoid duplicate IP-nr)
Karl Auer
kauer at biplane.com.au
Fri Sep 8 13:58:37 UTC 2006
On Fri, 2006-09-08 at 05:05 -0700, news at teknologia.com wrote:
> We would like to get around the problem of having the following line in
> each zonefile:
> domainname.com IN A X.X.X.X
Use $INCLUDE and "@"?
@ is the origin either as specified with $ORIGIN or the name of zone as
given in the named.conf entry referring to the file.
Put a line like "@ in a x.x.x.x" in a file like "my_ip.inc" and put
"$INCLUDE my.inc" in each zone file...
See
http://www.zytrax.com/books/dns/ch8/include.html
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
More information about the bind-users
mailing list