multiple domains on 1 dns server

Kevin Darcy kcd at daimlerchrysler.com
Thu Jul 12 20:25:50 UTC 2001


Hayden Wimmer wrote:

> i need to have a dns server serve multiple domains.
> what do i put in the zone files?  etc?

You put basically the same kind of data in each zone file, i.e. an SOA record
and some NS records for the zone apex, and then "leaf" nodes (e.g. A records
for a "forward" zone, PTR records for a reverse), delegations (if you
wish) and/or aliases (if you wish). Each master zone needs a separate "zone"
definition in named.conf of course, and if you're creating subzones, you
should add delegation records (and also possibly "glue records") to the
relevant parent zone(s).

> also, i need win98 machines to be able to do a look up on lets say server
> and have the dns server return the correct address...

Do you *need* this, or do your users just *want* it? Fully-qualified names
are the most efficient, scalable and unambiguous way to do DNS lookups, and
your users should be used to them, since that's what almost all Internet
URL's contain. The longer you support the use of short names, the harder it
will be to phase out the practice when -- not *if* -- that becomes necessary.

> i keep fudging things to keep it working.

That should tell you something.


- kevin





More information about the bind-users mailing list