Conditional DNS forwarding is used to forward DNS request to other DNS server in order to resolve the DNS query. If company-A purchases company-B then company-A can setup conditional DNS forwarding to send DNS requests destined for company-B.com domain and vice-versa. So the forwarding is only when the domain name condition is met. In this article, I will show steps to create conditional forwarding in Windows Server 2008 R2.
Create Conditional DNS Forwarding in Windows Server 2008
The diagram below shows our scenario. We have two different forests, mustbegeek.com and mustbeweb.com. After merger or other reasons, mustbeweb.com wants to forward DNS requests for mustbeweb.com domain directly to DNS server on mustbeweb.com forest.
So to create the conditional DNS forwarding in Windows Server 2008 follow these steps,
- Login to DNS server on mustbegeek.com domain. Here, MBG-DC01 which is a domain controller is also the DNS server. Open DNS manager. Expand server node.
- Right-click conditional forwarders folder and click New conditional forwarder.
- Type the domain name as shown above under DNS Domain. Type IP address of the DNS server of mustbeweb.com domain. Make sure the servers at mustbegeek.com can reach mustbeweb.com domain. This means you may have to setup VPN connection between the sites. Click OK.
- You see the conditional forwarder set above for mustbeweb.com domain. Now, all the DNS requests coming in for mustbeweb.com domain will be forwarded to 192.168.200.20 IP address. In this way, you can setup conditional forwarder in WEB-DC01 server as well for mustbegeek.com. You can now ping mail.mustbeweb.com from MBG-DC01 domain controller or network.
In this way you can create conditional DNS forwarding in Windows Server 2008 R2.