several subzones in one db file
zzzzzzzzzzzzzz
you at spamme.com
Sat Nov 29 01:50:57 UTC 2003
"Barry Margolin" <barry.margolin at level3.com> wrote in message
news:booopu$10vb$1 at sf1.isc.org...
> You need separate db files. Just like you do for company1.com and
> company2.com -- they're both just subzones of COM, aren't they?
Actually, you could accomplish exactly what you want by creating a single
zone file with multiple zone statements using the same file.
For example, create a file named db.generic with the relevant records.
$TTL 3600
@ IN SOA 2003112800 3600 1800 64800 3600
@ IN NS <nameserver>
@ IN A 123.123.123.123
Then, your zone statements in named.conf would look something like the
following.
zone "post.isp.com" IN {
type master;
file "db.generic";
};
zone "private.isp.com" IN {
type master;
file "db.generic";
};
zone "xyz.isp.com" IN {
type master;
file "db.generic";
};
This is a tried and true method and works quite well.
bt
More information about the bind-users
mailing list