Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 { 10.10.1.9; };
};
share|improve this question

1 Answer 1

up vote 4 down vote accepted

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

forward ( only | first )
forwarders { ipv4_addr }
share|improve this answer
    
Thank you :) It works! –  Janis Veinbergs Dec 2 '10 at 9:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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