Multiple Domain Names to One Host File!!

Joseph S D Yao jsdy at cospo.osis.gov
Wed May 23 15:38:24 UTC 2001


On Tue, May 22, 2001 at 04:20:19PM -0700, Doug Barton wrote:
> $TTL 8h
> @ IN SOA nameserver.domain.tld. hostmaster.domain.tld. (
> 	<Rest of the SOA> )

Please note that this is NOT THE CASE.

It assumes that hostmaster at domain.tld is a legitimate e-mail address.
It may not be!  That field should contain the e-mail address of someone
who has control over the domain.  This could be (and should be) the
hostmaster at domain.tld, or it could be hostmaster at some.other.domain.tld,
or it could be james.b.admin at wichita.kans.us.  But it MUST NOT
AUTOMATICALLY BE PLACED in the same domain as the ORIGIN, unless that
is in fact correct.

If that assumption IS correct (that domain.tld is the ORIGIN, and the
e-mail address is correct), then you can abbreviate the above as:

@	SOA	nameserver hostmaster (
		... )

but now you can't use it as the zone file for multiple domains, unless
you have set up e-mail to accept mail to all those names, and
registered a different name server (nameserver.otherdomain.tld) for
each domain.  Your original formulation was in fact better for this
purpose, with this slight modification:

@ IN SOA nameserver.serverdomain.tld. hostmaster.serverdomain.tld. (
		... )

Jes' being slightly picky, but this is something that too many people
do get wrong!

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
OSIS Center Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list