exchange.sembee.info
from Sembee Ltd.
UK MS Exchange Consultants
Split DNS

If you are using a different domain name internally than on the Internet, or have resources internally that are available to the Internet, you may find that you have difficultly connecting to them as the name resolution doesn't return the correct answer.

Examples could be:

What you need to do is setup a "split DNS" environment.

This is where different results are returned to the client depending on their location - on local network or the Internet.

There are two different ways to operate a split DNS system:

  1. Replace a single host name in your public DNS
  2. Replace the entire subnet.

If you want to replace the resolution of one or two hosts, then the single host name is best for you, and works well with .local or other non-resolvable domain and with dynamic DNS services.
If you have lots of hosts or have all of the resources in-house, then the zone replacement method is the best choice, and may already be in use and just needs some additional hosts.

You will need to use the zone replacement method if

To setup a split DNS system requires the following:

Configuration Instructions - Single Host Replacement

Setting up a New Zone

  1. On your primary DNS server, start the DNS administration tool.
  2. Right click on the server and choose New Zone.
  3. Step through the wizard. You need a FORWARD primary zone that is NOT AD integrated (you may have to deselect an option).
  4. When asked for the domain name, enter the host that you want to replace.
    For example if you want to replace owa.example.com then you would enter owa.example.com.
  5. Accept the option about creating a file.
  6. As this is not an AD integrated zone, disable dynamic updates.

Adding a Host

Creating the zone is not enough, you need to have a single blank A record in the zone so that something resolves.

  1. Right click on the new zone that you have just created
  2. Choose "New Host (A)". If it is greyed out, double click on the zone and try again.
  3. Leave the host name entry blank.
  4. Enter the internal IP address for the web site.
  5. Press OK.

If you are using the same host name for your MX records, then note that internally they will resolve to the IP address that you have just entered. For Exchange 2003, that will not be a problem unless you have disabled SMTP on a frontend server. On Exchange 2007 if you have a separate Hub Transport Servers and Client Access Servers it could be an issue. You may want to consider using a different host name for your MX records, so that internally they can point at different servers.

Configuration Instructions - Zone Replacement Method

In these examples we are using example.com as the external domain

Setting up a New Zone

  1. On your primary DNS server, start the DNS administration tool.
  2. Right click on the server and choose New Zone.
  3. Step through the wizard. You need a FORWARD primary zone that is NOT AD integrated (you may have to deselect an option).
  4. Enter the domain name when prompted.
    For example if your web site is www.example.com then you would enter example.com.
  5. Accept the option about creating a file.
  6. As this is not an AD integrated zone, disable dynamic updates.

Adding Internet Based Resources

  1. Right click on the new zone that you have just created, or is pre-existing.
  2. Choose "New Host (A)". If it is greyed out, double click on the zone and try again.
  3. Enter the name that you need to add, minus the domain name.
    For example if you want to add your web site which is on www.example.com then you would just enter "www".
  4. Enter the external IP address for the web site.
  5. Press OK.
  6. Repeat for any other services that you might have on the Internet.
    You do NOT have to add entries for MX records for your domain as your email system will not be looking for these as it will know that it is responsible for that domain.

REMEMBER: After you have made this addition to your DNS the server will no longer lookup DNS information for this domain from the Internet. If there are any changes to the Internet IP addresses then you will need to update your internal DNS server as well.

Adding Local Resources Also Available on the Internet

  1. Right click on the new zone that you have just created, or is pre-existing.
  2. Choose "New Host (A)". If it is greyed out, double click on the zone and try again.
  3. Enter the name that you need to add, minus the domain name.
    For example if you want to add your web site which is on www.example.com then you would just enter "www".
  4. Enter the internal IP address for the web site.
  5. Press OK.
  6. Repeat for any other resources that you have locally that are also available on the Internet.

Common Problems with this Setup

There are a few common issues with this setup which can stop it from working.

Questions

Q: I am using a Dynamic IP address. How can I have the same name both internally and externally if my external IP address is changing.
A: You will need to use a Dynamic DNS service. The same process will apply as we have written here for managing MX records on a dynamic IP address.

Q: What hosts do I need to enter for use with Exchange 2007 and higher?
A: You need to have autodiscover.example.com (pointing at your internal IP address), as well as whatever name you are using for OWA - such as owa.example.com or mail.example.com.

Q: Should I select the option to "Create an associated pointer (PTR) record" ?
A: No, you shouldn't set that option as the hosts will most likely already have a record that is AD integrated.


Network Home Page - Site Home Page
Last Page Update: 05/03/2011



More Content from Sembee Ltd.
 
Resources on exchange.sembee.info Other Sites Sembee Ltd.
Microsoft Exchange 2003 Command Prompt Getting Started Guide Microsoft Exchange Consultancy
Microsoft Exchange 2007 Login Scripts Director's Blog
Microsoft Exchange 2010 MS Exchange Resources  
Microsoft Outlook Knowledge Base search  
Exchange Networking Tasks Recovery of MS Office content from Temp Files  
Amazon Store Troubleshoot the Automatic Updates Client  
  UK ISP Status Pages  
© Sembee Ltd. 1998 - 2011.
Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions. All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned within and is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.

Sembee Ltd. is registered in England and Wales at 33 Scrivens Mead, Thatcham, Berkshire, RG19 4FQ.
Registered company number: 4704428. VAT Number GB 904 5603 43.