Solved

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

Posted on 2014-10-21
13
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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
 
LVL 40

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 40

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 40

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

623 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