Easy way to specify nodes on multiple domains?

Walter Schiessberg w.schiessberg at members.uceprotect.net
Mon Oct 13 18:18:29 UTC 2003


Nickster wrote on 12.10.2003 19:31:


> Dear All,
> 
> Is there an easy way to maybe "re-use" zone files to specify exactly the
> same host names/IP addresses for multiple domain names e.g.
> box1.domainname.org box1.domainname.com? Currently I'm having to duplicate
> entries between 2 zone files and it's a bit of a pain. Am I missing
> something really obvious!?

If you don't use the $ORIGIN statement and additionally start the SOA 
with "@" you only have to copy the file to a different name and adjust 
your named.conf.

Sample SOA:
@ IN SOA 127.0.0.1. hostmaster at yourhost. ([...]


Walter



More information about the bind-users mailing list