other experiments

Kevin Darcy kcd at daimlerchrysler.com
Tue Sep 12 22:07:11 UTC 2000


A. That's not a root server. A root server would be master or slave for the
root zone. This server, by contrast, is configured with a hints file for the
root zone.

B. The "forwarders { }" syntax is fine by itself, but not with "type
stub" preceding it on the same logical line. I don't think that config will
parse as it stands right now. See the docs for the "zone" statement. It looks
like you're trying to combine "type stub" with "type master" or "type slave".
That doesn't work: stub zones are a different type of zone from master and
slave zones. You can't mix and match types like that. Perhaps you
misunderstood what I said earlier when I said you could mix "forward { }" with
stub, slave and master zones. I didn't mean "mix" IN THE SAME DIRECTIVE;
I meant that a stub, slave or master zone could have a "forwarders
{ }" directive in its definition. Sorry if I wasn't clear.

C. What do you mean by "lower the precedence of the global forwarding"? The
"forwarders { }" statement cancels forwarding *completely* for the branch of
the namespace where it appears, e.g. for all of the annika.intra.net domain.
This is hardly what I'd call "lowering precedence"; unless you're viewing
"off" and "on" as two different "precedence"s for the forwarding disposition
of any given part of the namespace.


- Kevin

Quadri, Jay wrote:

> 1. I have an Internal Root server with my own written named.ca file. Do you
> think it's ok to put selective forwarding on the root server, remember that
> client host dont directly put root server IP in their PC.
>
> 2. Do you see anything wrong with the forwarders {}; syntax below.
>         The objective is to lower the  precedence of the global forwarding.
>
>  options {
>         directory "/usr/local/named";
>         pid-file "/etc/named.pid";
>          named-xfer "/usr/local/bin/bind/named-xfer";
>          notify yes;
>        check-names master ignore;              /* default. */
>        check-names slave  ignore;
>         listen-on port 53 { any; };
>          forward only;
>          forwarders {204.167.169.129;204.167.169.131;};
>          allow-query { any; };
>          allow-transfer { dns-secondary-servers; };
>         transfer-format many-answers;
>  };
>
> zone "0.0.127.in-addr.arpa" {
>  type            master ;
>  file            "0.0.127.in-addr.arpa.db" ;
>  allow-update    {
>   none ;
>  } ;
> } ;
>
> zone "." {
>  type            hint ;
>  file            "named.root" ;
> } ;
>
> zone "annika.intra.net" {
> "type stub"
> forwarders {};
>  type            master ;
>  file            "annika.intra.net.db" ;
>  notify          YES ;
>  allow-update    {
>   none ;
>  } ;
>  maintain-ixfr-base yes ;
> } ;
>
> zone "otherslave.net" {
> "type stub"
> forwarders {};
>  type            slave ;
>  file            "other-slave.net.db.bak" ;
>  masters         {
>   205.50.1.5 ;
>  } ;
>  max-transfer-time-in 120 ;
> } ;






More information about the bind-users mailing list