forward and delegate
Kevin Darcy
kcd at daimlerchrysler.com
Tue Jun 13 22:36:17 UTC 2006
Hanrong Jiang wrote:
> I setup a DNS as below :
>
> in named.conf:
>
> options {
> directory "/var/named";
> forward first;
> forwarders { 1.1.1.1 } ;
> }
>
> zone "example.com"
> {
> type master;
> file "db.example.com";
> }
>
> in db.exmaple.com:
>
> ...
> xxx A 3.3.3.3
> $ORIGIN example.com
> abc NS abcdns.abc
> $ORIGIN abc.example.com
> abcdns A 2.2.2.2
>
> when I want to lookup a host "xyz.abc.example.com", the server first contact
> the forwarders 1.1.1.1 to get the host address, not send the request to
> 2.2.2.2 directly, Why ?
>
Because forwarding, by default, overrides delegation.
If you want to disable forwarding for all undefined subzones of
example.com, then put "forwarders { };" in the zone statement.
- Kevin
More information about the bind-users
mailing list