multiple `zone' clauses for a single domain?
Marek Kozlowski
kozlowsm at mini.pw.edu.pl
Fri Nov 25 16:59:55 UTC 2011
:-)
Forgive me a stupid question but I can't find the answer...
Is it allowed to use a few `zone' clauses for a single domain? Is
something like this correct:
zone "mickey.mouse.com" in {
type master;
file "pri/mickey-public.zone";
allow-query { any; };
allow-transfer { xfer; };
};
zone "mickey.mouse.com" in {
type master;
file "pri/mickey-private.zone";
allow-query { trusted; };
allow-transfer { xfer; };
};
where `mickey-public.zone' stores information on public hosts from my
domain while `mickey-private.zone' stores hosts that should be
visible/known only for trusted host?
Should I duplicate all records from `mickey-public.zone' in
`mickey-private.zone'?
Do I *have* to use views to deal with such distinction or can I specify
it just as above without views?
Best regards,
Marek
More information about the bind-users
mailing list