2

Is it possible to configure Windows to direct DNS lookup requests for <servername>.corporatedomain.com, to a specific DNS server?

I asked a question recently about routing my DNS off the VPN DNS server for web requests, so now I have the default DNS server on the VPN set to 8.8.8.8/8.8.4.4. Even before doing this, though, I was unable to query servers on the VPN by name (e.g. <servername>). I'd like to set up the VPN so that when I ask for anything ending corporatedomain.com it will look to the DNS servers on the VPN first.

1
  • See this answer - seems like you can do it with a single PowerShell command.
    – aoetalks
    Commented Nov 9, 2018 at 16:22

1 Answer 1

0

The first answer that comes to mind is setting up a DNS server with just a zone entry for corporatedomain.com that holds NS records pointing to the DNS servers of your VPN. All other requests should be forwarded to the appropriate DNS servers.

1
  • Sorry, I Completely lost sight of this question. I'd rather not have to set up a DNS server as it's not all that portable. Equally, I'd like to be able to give the solution to everyone using the VPN conection. Ideally, I'm looking for a solution that can be done on machine (similar to route add) to set it up. Commented Jun 25, 2014 at 7:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .