Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows Workstations (Conditional DNS Servers)

Posted on 2013-11-18
9
Medium Priority
?
492 Views
Last Modified: 2013-11-18
Is it possible to have DNS requests sent to different servers within Windows conditionally (e.g. all requests for resolution of abc.com to 1.1.1.1 and then everything else to 2.2.2.2)?

The premise being similar to conditional forwards on DNS servers but for clients.
0
Comment
Question by:DaveQuance
[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
  • 5
  • 4
9 Comments
 
LVL 9

Expert Comment

by:Trenton Knew
ID: 39656805
only way I can think of is to manually map abc.com via the hosts file

%systemdrive%\windows\drivers\etc\hosts
0
 

Author Comment

by:DaveQuance
ID: 39656842
Yes but that's for individual FQDNs and is static. I'm hoping for a way to contact a DNS server and pull the current records for the entire domain.
0
 
LVL 9

Expert Comment

by:Trenton Knew
ID: 39657076
I'm not sure I follow what you mean by entire domain.  do you mean you also want to pull records for subdomains too?  I'm having trouble understanding because If you're looking to contact an alternate DNS server for specific domain names, that should be an option in the hosts file.  If the hosts file is not sufficient, or if the targets are changing and need to be name resolved on the regular, than you will probably have to set up a dns server somewhere on your local network or on the local machine
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:DaveQuance
ID: 39657239
"If you're looking to contact an alternate DNS server for specific domain names"
Exactly.

So the hosts file does does have options for something like this? I'll do some web searches on hosts file options.

Scenario:
 I have a standalone workstation with normal ISP provided DNS servers. I have a site to site VPN to another location that contains some internal zones. I'd like to be able to reference those records for various reasons (some certificate related).
0
 

Author Comment

by:DaveQuance
ID: 39657512
I've been looking at options for the hosts file but I don't really see anything other than:

<ip>     <name>

lmhosts didn't seem to be helpful for this goal either.
0
 
LVL 9

Accepted Solution

by:
Trenton Knew earned 280 total points
ID: 39657745
hosts is for domain resolution, whereas lmhosts is for local windows machine hostname resolution.

there is an article on SuperUser that suggests using a DNS proxy on your local machine, which supports wildcards in mappings.  maybe some other proxy DNS service can run on that local machine.

stackoverflow.com/questions/138162/wildcards-in-a-hosts-file/4166967#4166967

would this help?
0
 
LVL 9

Expert Comment

by:Trenton Knew
ID: 39657754
The only other thing I can think of, is to configure a local DNS on the machine, or on the local network.  Make your internally or local controlled DNS the primary, and then use your other name server as the backup
0
 

Author Comment

by:DaveQuance
ID: 39657971
The DNS Proxy you mentioned reads like it will do the job. The quick test I put together didn't work as I wanted but I haven't had time to fully read the info on it (so I'm probably just doing something wrong). I'll let you know tomorrow when I have more time to spend on it.
0
 

Author Closing Comment

by:DaveQuance
ID: 39658016
The solution of TrentonKnew provided, Acrylic DNS Proxy Service, did exactly what I was looking for.

Note: If you use it, there's an allowed IP list to use access the service that doesn't allow anything by default (including the local machine).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

618 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