Solved

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

Posted on 2014-10-21
13
218 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
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

729 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