Windows Server 2003 has this feature where you can forward queries for domain "example.com" to specific nameserver (not the default DNS server).

How do i set this up in BIND? For example, i want to set up forwarding for local TLD to specific local nameserver.

Bind version 9.6

Working configuration

As Khaled noted, we can use forwarders statement in zone clause. It worked with the following configuration:

zone "local." IN {
   type forward;
   forward only;
   forwarders {; };

1 Answer 1


Have a look at this page. You can use the forward and forwarders statements inside your zone block.

forward ( only | first )
forwarders { ipv4_addr }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.