Solved

Ability to Have Windows NIC Use Specific DNS Server for Preset External Website Addresses?

Posted on 2014-10-21
13
210 Views
Last Modified: 2014-10-29
Is it possible to hard set the NIC settings on a Windows computer so that it uses a defined external DNS server when resolving only a set of specific external website addresses? Such that if someone on that machine browses to experts-exchange.com it uses a Google Public DNS server 8.8.8.8 to resolve that hostname
0
Comment
Question by:RTM2007
  • 4
  • 4
  • 3
  • +2
13 Comments
 
LVL 11

Expert Comment

by:sinfocomar
ID: 40395479
You can use conditional DNS forwarders.

Please read the following link: http://technet.microsoft.com/en-us/library/cc782142(v=ws.10).aspx
0
 

Expert Comment

by:Kevin Portell
ID: 40395483
There are custom cloud hosted DNS servers if you are looking to redirect to a specify address.  Or if you already have one you can do this by opening up the network connections and going to IPV4 (assuming that is what you use) and enter it in manually. If you don't you can set one up at http://www.rackspace.com/cloud/dns/ <- for instance.
0
 
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40395487
Conditional Forwarders is definitely the way to go. It applies globally
0
 
LVL 2

Author Comment

by:RTM2007
ID: 40395510
I only need to do it for this one Windows computer and maybe 2-3 external websites. Is there a way to easily do this on the one computer's NIC?
0
 
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40395526
Not really, unless you want to hard code the site IP addresses in your host file. Then it bypasses DNS altogether.

C:\Windows\System32\drivers\etc\hosts
0
 
LVL 2

Author Comment

by:RTM2007
ID: 40395531
Was looking to avoid HOSTS as the external website does change
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 39

Expert Comment

by:footech
ID: 40395534
There is no way to configure the DNS client on a Windows machine to use a different DNS server depending on what resource it is trying to reach.  However, as others have stated, you can configure a DNS server to use different resources (e.g. by using conditional forwarders, hosting it's own copy of the zone, etc.) when it is trying to resolve a query on behalf of a client.
0
 
LVL 2

Author Comment

by:RTM2007
ID: 40395605
How would a conditional forwarder be setup on that Windows computer then to serve requests only for that computer out to an external DNS server?
0
 
LVL 16

Accepted Solution

by:
Joshua Grantom earned 500 total points
ID: 40395609
You cannot, Conditional Forwarders have to be created on your DNS server.
0
 
LVL 2

Author Comment

by:RTM2007
ID: 40395627
This Windows computer has the DNS Server service installed
0
 
LVL 39

Expert Comment

by:footech
ID: 40395628
The only options I see here, if you only want it to affect this single computer, are:
- use HOSTS file
- set up a DNS server on the local machine, configure the machine to use itself as a DNS server, and then configure the DNS server as needed (way more work than I would want to do, and I don't have any particular recommendations for DNS software).

Perhaps if you describe the problem you're trying to solve there might be a better suggestion.
0
 
LVL 39

Expert Comment

by:footech
ID: 40395640
Just saw your post that this machine has DNS server installed.
In that case, the machine (NIC settings) has to point to itself for DNS.   Here's a link to MS with instructions on how to set up a conditional forwarder.
http://technet.microsoft.com/en-us/library/cc794735(v=ws.10).aspx
0
 
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40395641
OK, you need to open DNS under administrative tools and take a look here

http://technet.microsoft.com/en-us/library/cc754941.aspx#BKMK_winui
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now