forward and delegate

Hanrong Jiang hanrong.jiang at ericsson.com
Tue Jun 13 05:49:39 UTC 2006


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 ?




More information about the bind-users mailing list