Forwarder zone

If you want a name server to forward queries for certain domain names to another name server, use a zone statement of type forward to tell a BIND server to forward queries for domain names that end in the specified suffix to particular name servers. For example:

zone "example.net" {

    type forward;

    forwarders { 10.10.10.20; };

};

This tells the name server to forward queries for domain names that end inexample.netto the name server at 10.10.10.20.

As with the corresponding optionssub-statement, you can list multiple forwarders in the forwarderssub-statement.

This entry was posted in DNS, Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published.