forward inside master zone

Kevin Darcy kcd at daimlerchrysler.com
Thu Jan 3 01:05:25 UTC 2002


I realize I'm just a voice in the wilderness here, but I *really* wish that
"forwarding cancellation" had a better syntax than this. "forwarders
{ };" is non-intuitive and ugly, IMO. If only it had been "forward off;" or
"forward not;" or " forward none;" instead...


- Kevin

Mark_Andrews at isc.org wrote:

> > Could you expand on that a little Mark?  Namely, how the forwarders
> > statement affects sub-zones?  The Bv9ARM doco seems light on that.
>
>         Canceling forwarders:
>
>         options {
>                 forward only;
>                 forwarders { 1.2.3.4; };
>                 ...
>         };
>
>         zone "example.com" {
>                 type master;
>                 file "example.com";
>                 forwarders { };
>         };
>
>         example.com:
>         @       SOA ...
>                 NS  ns1
>                 NS  ns2
>         sub     NS  ns1.sub
>                 NS  ns2.sub
>         ...
>
>         If you go to lookup "host.sub.example.com" the server will use
>         ns1.sub.example.com and ns2.sub.example.com to obtain the answers
>         rather than using the forwarder specified in the options.
>
>         Similarly if you specify forwarders it will use them rather than
>         the nameservers in the delegation.
>
>         Mark
>
> >
> > Cheers!
> >
> > --
> > William Stacey, MCSE
> --
> Mark Andrews, Internet Software Consortium
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org



More information about the bind-users mailing list