<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Using DNS Conditional Forwarders (Windows)

Published on
10,967 Points
4,867 Views
1 Endorsement
Last Modified:
Approved
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresses on your local network, especially if you have multiple sub-nets or even multiple routed networks.

The better solution is to use conditional forwarders.  Conditional forwarders allow you to specify a DNS server to use for a particular domain.  In my case we had problems resolving paypal.com from one of our networks.  By setting up a conditional forwarder, we were able to address the paypal problem without causing DNS resolution problems for other domains or our own networks.

Here is how its done on a Windows 2008 DNS Server (all Windows Servers are typical):

1. Open the DNS manage from Administrative Tools int the control panel.
2. Navigate to and right click on Conditional Forwarders under your DNS Server. then select “New Conditional Forwarder”
CondForward13. Enter the Domain of the site you want to resolve using forwarders
CondForward24. Enter the DNS Server to use for resolving this domain.  I used one of Level3's and one of Google’s in this case.  OpenDNS Servers are also a good choice.
CondForward35. If you use Active Directory, make sure you check the box to store in Active Directory.  That way the forwarder will replicate to your other DNS Servers.  The default’s are ok for the rest of the settings.
CondForward5
You may need to clear your DNS cache to get this working.  You can do this by right clicking on the DNS Server in DNS Manager and then selecting "clear cache".   You and calso do this from the command prompt by typing
"Dnscmd ServerName /clearcache".  While your at is run "ipconfig /flushdns" to clear the DNS cache on your local computer.

Enjoy!

(Note: This was originally published on my blog, and has been expanded for the Experts Exchange article.)
1
1 Comment
LVL 9

Author Comment

by:Frank McCourry
Thanks!
0

Featured Post

Virus Depot: Cyber Crime Becomes Big Business

The rising threat of malware-as-a-service is not one to be overlooked. Malware-as-a-service is growing and easily purchased from a full-service cyber-criminal store in a “Virus Depot” fashion. View our webinar recording to learn how to best defend against these attacks!

A query can call a function, and a function can call Excel, even though we are in Access. This is Part 2, and steps you through the VBA that "wraps" Excel functionality so we can use its worksheet functions in Access. The declaration statement de…
Watch this online video tutorial and learn the best way to reduce Outlook mailbox size using Compact Now feature of Outlook. It removes the deletes item's space from Microsoft Outlook 2016, 2013, and 2010 and compresses the PST file size. This will …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month