Introduction to Microsoft Exchange 2003 - MX Records
If your Exchange 2003 server needs to receive email from the internet, then somewhere, you need to configure MX (mail exchange) records in DNS. When troubleshooting MX records, hold on to the thought that people need to find your email server.
DNS is a complex topic; so let us start with the basics. Host or A records map the mail server to its IP address. The extra factor that Exchange needs is a DNS record that links the mail server to
the email domain name.
Email delivery for your domain
[Host (A)] + [MX Record] IP -- mail server -- email domain
Fortunately, DNS has an MX record to maintain such a mapping. To check DNS records, launch your server's DNS snap-in, expand your server icon, Forward Lookup Zones and navigate to your domain
folder. Now search for MX records and examine their properties. (See diagram opposite.)
In most instances, you need at least two Exchange servers each with its own MX record. Traditionally MX priorities are set in multiples of 10, and an attempt is made to deliver the email to the
server with the lowest priority first.
The next consideration is whose DNS server should host these MX records? The answer depends on how your email domain is registered with InterNic. I stress email domain, because this maybe a
different name from that of your Active Directory domain.
Plan A would be for your ISP to have an MX record for your domain pointing to the ISP's name servers. In this case you would need to periodically download the email from the ISP's mail server to
your Exchange 2003 server.
Plan B would be for you to have a permanent IP address which is continuously connected to the internet. In this case, you could have the MX records on your DNS pointing to your Exchange 2003
servers.
Plan C is a hybrid of the first two plans. Ask your ISP to create MX records for both your server and the ISP's own servers. In this instance you could assign a lower priority to the MX record for
your Exchange server. As a result the email comes to your Exchange servers if the connection is active, or else is delivered temporarily to the ISP, if the internet link is down.
DNS is a huge topic, as an MCT trainer, I can thoroughly recommend TrainSignal
because they provide practical hands on training. In particular, I like the way TrainSignal cover all learning methods, instructor lead, video and of course text material. You can either take one module, for example DNS or go for
a combination of modules.
Learn more about DNS 2003 here
Internal Email
It is possible for email to be delivered internally, within your Exchange Organization, without the need for MX records. The reason is that your own Exchange servers can resolve the delivery
request with just an A (Host) DNS record.
For example, suppose you have two Exchange 2003 servers, Cardiff and Swansea. Active Directory will already have DNS A (Host) records for these servers. So when mail is sent by a Cardiff mailbox
to guy @cp.com, Exchange queries Active Directory for guy's mailbox - answer Swansea, then it queries DNS for the IP address of Swansea. Now it can deliver email to the Swansea Exchange 2003 server.
No MX records are required for this scenario.
Naturally, your Outlook clients send all their email to your server. Internal delivery for recipients in your organization is no problem. Your DNS can handle all queries for Exchange servers.
However, any email addressed to external recipient, needs a DNS server with extra information called root hints. Root hints have the IP addresses of internet servers which specialize in top level
domains such as .com, .net. For successful delivery, either your DNS server has these root hints configured, or you forward all external email to your ISP's DNS server. Naturally the ISP's DNS takes
responsibility for resolving the domain names via the root hints.
To configure outgoing DNS, either navigate to the Virtual Server (See diagram), or to the SMTP Routing Connector.
What you are looking for is the Smart host dialog box. This setting would hold the IP address of your ISP's DNS server. Alternatively, configure the IP address of one of your DNS Servers outside
the firewall. When you enter the IP address, strangely, it must be enclosed in square brackets, for example [2xx.221.78.10]
Monitor Your Network with the Real-time Traffic Analyzer
The main reason to monitor your network is to check at a glance which
of
your servers are available. If there is a network problem you
want an interface to show the scope of the problem immediately.
Even when all servers and routers are available, sooner or later you will be curious to
know who, or what, is hogging the precious network's bandwidth. A GUI
showing the top 10 users makes interesting reading.
Another reason to monitor network traffic is to learn more about your
server's response times and the consumption of resources. To take the pain out of
capturing frames and analysing the raw data, Guy recommends that you download a copy of
the SolarWinds
free Real-time NetFlow Analyzer.
.
Summary of Exchange MX Records
There are three separate DNS issues for your Exchange 2003 server.
If you are receiving email from the internet, then it is essential to configure MX records for your Exchange 2003 server.
Internal email delivery is accomplished with just A (Host) DNS records.
Guy Recommends:
The SolarWinds Exchange Monitor
Here is a
free tool to monitor your Exchange Server. Download and
install the utility, then inspect your mail queues, monitor the Exchange
server's memory, confirm there is enough disk space and check the CPU
utilization. This is the real deal - there is no catch. SolarWinds
provides this fully-functioning product for free, as part of their commitment to
supporting the network management community.
Learn how to find settings in the Exchange System Manager. Advice configuring your Exchange Server. Tips on how to get the most from your Exchange 2003 server.
Over 50 printer friendly pages Word and PDF format