Link to home
Start Free TrialLog in
Avatar of glenn_r
glenn_r

asked on

Down to create a DNS zone to differential between requests from the domain and over the internet

I have an app that uses a service. I need to test the app from within our domain and over the internet. The customer has both the production service and the a new test version of the service running on the same server. What i'd like to do is set up a dns zone that resolves to a different IP address based on whether its being requested from the domain or over the internet. From here I can set up the web servers (IIS) site bindings to redirect the request based on the IP address to either the production or test service. How can I configure this in the Windows Server DNS Manager?
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Yes, you can provided you run a sufficiently modern version of Microsoft DNS.

Step-by-step for this is here:

https://blogs.technet.microsoft.com/networking/2015/05/12/split-brain-dns-deployment-using-windows-dns-server-policies/
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.