amset

.info
.co.uk - exchange consultancy
Have your Exchange server installed, maintained or
upgraded by Sembee.
Exchange 2000, 2003, 2003 SBS, 2007
More Information (UK only)

Exchange - Login Scripts
Net Admin - Outlook
Windows Mobile - Windows

Contact - Director's Blog

AddThis Social Bookmark Button

Exchange Server

Exchange Consultancy

Exchange Resources


Amazon Store


Basic Email Gateway Server

Company wide Contact List

Disabled User Account

Distribution Lists

DNS Configuration

Exchange and a
Dynamic IP Address

Event ID 1221

Filter Unknown Users

Global Mailbox Folder
Permissions from Server

Intelligent Message Filter

Internal Email Address
for External People

Mailbox and Management
Account

Message Tracking

Migrating to a new server

Multiple Domains

Offline Address Book Errors

Options when a Staff Member
Leaves

Outlook Web Access

PDAs, OMA and EAS

Permissions Best Practises

Post Install Configuration

Public Folders

Prerequisites for Exchange
System Tools

RPC over HTTPS

Secure your SMTP Relay

Shutdown Script

SMTP Services and Exchange

SMTP Diagnostics

Spam Cleanup

Switching From POP3
to SMTP Delivery

Telnet Test

Username Change

Exchange Server
Compatibility Information
Exchange
Server Version
Compatibility
5.5 Yes
2000 Yes
2003 Yes
2007 Maybe
SMTP Delivery on Dynamic IP Address

Author: Simon Butler, Exchange MVP, MCSE
Last Page Review: 21/06/2009

Having email delivered direct to your Exchange server by SMTP instead of via a POP3 connector is the way that Exchange was designed to work and is the most efficient and fast way of getting email.

However a common complaint is that the server is on a Dynamic IP address, making MX records difficult to set. The IP address is constantly changing and the Internet DNS system cannot keep up.

By making use of a Dynamic DNS service you can have SMTP delivery to your email server. If you would like to know more about Dynamic DNS services and how they work, please click here.

To Make a Dynamic DNS System work for your Exchange Solution:

  1. Sign up for a Dynamic DNS Account with one of the providers. You can use one of their domain names for the account as this is just for MX records. However do use something sensible or that identifies your company name for an account name as it can be seen on the Internet if people are checking up on your settings.
    For providers see the list at Google Directory:
    http://directory.google.com/Top/Computers/Software/Internet/
    Servers/Address_Management/Dynamic_DNS_Services/
  2. Install an updater tool on your Exchange server. This will ensure that the IP address stays up to date. The Dynamic DNS provider should have a list of updater tools that work for their service. Try and get one that operates as a service. This will mean that it continues to work even if there is no one logged in to the server. You may already have the service on your router - so check there as well. 
  3. Verify that the updater tool is working through at least one IP address change.
  4. Change your MX record for your domain to point to your new Dynamic DNS name.

As long as the information with the Dynamic DNS provider is kept up to date the Internet will always be able to find your machine to deliver email despite the IP address changing.

More About MX Records

There seems to be some confusion over configuration of MX Records. Hopefully these short bytes will help you understand MX record configuration.

  • MX records are always two parts - the host and the record itself.
    • You create the host with an IP address.
    • Then you point the MX record at this host.
  • An MX Record cannot be an IP address, but it can be a host name that is outside of your domain name.
    For example the MX record for example.com could be mail.example.net
  • All an MX record does tell other email servers where to deliver email destined for example.com therefore it doesn't matter which domain it belongs to.

SMTP Connectors (Exchange 2003) / Send Connectors (Exchange 2007)

You do NOT need an SMTP connector for receiving email via SMTP. SMTP connectors are used just for outbound email.

However if you are on a dynamic IP address you will have problems getting email delivered to some remote sites. Therefore you should setup an SMTP or Send Connector to route outbound email via your ISPs SMTP Server. More information on using SMTP Connectors can be found here.

SSL Certificates and Using Your Own Domain

If you want to issue commercial SSL certificates, for example so that you can use Outlook Anywhere/RPC over HTTPS, OWA, Exchange ActiveSync etc, then it is much easier to get them issued to your own domain.
Therefore the simple way round that is to put a CNAME in your own domain that points to the dynamic IP address host. For example, you would CNAME owa.example.com to domain.dynamicip.net. If someone enters https://owa.example.com in to their browser it will resolve correctly and will not generate SSL errors.
You could technically use the same practise for your MX records, but this is not best practise as it requires an additional DNS lookup and will cause some DNS record services to log a warning or failure.

Having the Dynamic DNS host name resolve internally.

If you want your dynamic DNS host name to resolve internally to the server, then you need to configure a single host replacement split DNS system.

Sponsored Links

Last Page Update:
21/06/2009

Back to the Top
Contact Us - Director's Blog
Exchange Index - Home Page


Exchange - Login Scripts - Network Admin - Outlook - Windows Mobile - Windows


© Sembee Ltd. 1998 - 2010. All rights reserved. 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 on this site. This site is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.