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 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.

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

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.

|improve this answer|||||
  • 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. – Obsidian Phoenix Jun 25 '14 at 7:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.