Possible to copy an entire domain?
don at daedalus.co.nz
Sun Dec 8 09:20:47 UTC 2002
Doug Barton <DougB at dougbarton.net> wrote:
>Brian Johnson wrote:
>> Can static zones share the same master file?
Your example does not give IP addresses for ns1.example.com &
ns2.example.com, i.e. example.com shouldn't be one of the zones sharing
Mind you, there's a lot to be said for a common file along the lines of:
@ SOA ns1 hostmaster (
42 1d 12h 1w 10m )
; Serial, Refresh, Retry, Expire, Neg. cache TTL
MX 0 mailhost
ns1 A 10.0.0.2
ns2 A 10.0.0.3
mailhost A 10.0.0.4
www A 10.0.0.1
i.e. the name servers (and everything else) are always within the
domain. You can fully qualify things like the mail host if you like.
Putting the name servers inside the domain forces the registry for the
parent domain to publish glue, which it may not if the name servers for
the domain are not in the same parent domain as the domain itself --
I've seen DNS lookups fail quite frequently in cases where the
delegation points to another domain which in turn has name servers in a
third delegation, and the first two "hops" lack glue.
More information about the bind-users