I'm trying to setup an authoritative name server for a domain
in Plan 9. Not all of the available ndb(6) directives for this task
are documented, so I have some questions:

The secondary name servers all run BIND on UNIX, and I need
to do zone transfers to them, from Plan 9. Will simple zone
transfers (given the -n flag to ndb/dns) suffice, or does the
outgoing ndb file somehow need to be reformatted for BIND?

If I have subdomains for the domain I'm managing, do those
subdomains get their own dom=... blocks? If so, do I need to
specify soa=, dnsslave=, ns=, etc. for each subdomain entry,
or will the specifications for the main domain satisfy?
(E.g.:
dom=example.com soa=
  serial=2009150901
  refresh=10800 retry=3600 ttl=86400 expire=2592000
  ip=x.x.x.x
  ns=ns1.example.com
  ns=myexample.com
  ns=yaexample.com
  dnsslave=myexample.com
  dnsslave=yaexample.com

dom=mail.example.com soa=
  mx=... pref=1
  mx=... pref=5
  ...

dom=sub.mail.example.com cname=mail.example.com

here, does the mail.example.com block need to also have ns=,
refresh=, and the other entries found in the example.com block?)

In zone transfers, is everything that is included by /lib/ndb/local sent,
or can one specify what (or which file) to send? For these purposes,
I'm keeping the whole domain configuration in a separate file:
/lib/ndb/zone


Thanks,
ak

Reply via email to