Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know how to title this question as it's a very odd situation.

I have a corp domain with it's PDC/BDC and DNS on in a datacenter. It also has a cloud hosted email server at

The issue is that internally all clients need to resolve to the actual internal IP address of server, but instead via the PDC/DNS are going outside the network first, then resolving to external address. This is creating a loop back of all traffic and affecting performance.

Is there a way in windows DNS to create an exception for a higher level request? Considering that in the domain hierarchy ., com, thisdomain, would be above the domain used on the PDC for the internal network. Very curious problem and I can't seem to find a working solution.

Thus far I've tried a manual root hint entry, and an alias of "" which works for nslookup, but ping tests still show the external address.

share|improve this question
Do you literally have an NT PDC, or do you just mean Domain Controllers? – Dan Apr 5 '13 at 20:05
Is the mail server external? If it is then it doesn't matter what you do with DNS. All the traffic to the mail server will go out to the internet anyway. I'm failing to see how the DNS queries are creating a performance issue. How is it that the email server is cloud hosted but has an internal DNS record? – joeqwerty Apr 5 '13 at 20:36
You really need to get rid of those NT 4.0 boxes. – Michael Hampton Apr 5 '13 at 20:52

This isn't a trick, you simply need to configure split DNS - provide a different DNS server for internal and external clients, therefore providing different results as required.

The easiest way would be to create a new DNS zone called and create an empty A record with the internal IP.

I've written a couple of answers previously which should get you started:

Can we put random entries on DNS

Different Routes For The Same DNS

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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