One common complaint about Exchange is how slow it is, especially when dealing with Internet mail. The reality is, at least as far as Internet mail goes, much of the slowness may not be due to Exchange itself but with the way Exchange deals with DNS.

Whenever a piece of Internet mail is received or sent, Exchange performs a reverse DNS lookup on the recipient or sender (depending on the direction the mail is going in) and appends the results to the mail's "Received from:" header. The headers in question look something like this:

Received: from by; 27 Oct 96 15:27:39 PST
Received: from by; 27 May 02 15:15:13 PST
Received: from by; 27 May 02 15:01:59 PST
Date: 27 May 02 15:01:01 PST
Subject: Example headers

Each one of these "Received:" headers is added at a different step during the mail delivery process, and each one involves a separate DNS lookup by a separate machine.

What is often overlooked is that DNS lookups are sometimes notoriously slow, especially if you are using a public DNS server or one inside your firewall that gets hammered a great deal. In truth, performing a DNS lookup on the addresses in the "Received:" line is not essential – all it does it provide a fully-qualified domain name rather than an IP address in that line. If you are experiencing slowness because of DNS lookups that

    Requires Free Membership to View

take a long time to resolve, you may want to consider disabling reverse resolution lookup in Exchange. The main disadvantage of this is that your domain name will not appear in "Received:" headers; only the IP address of your mail server(s) will appear.

To disable reverse DNS in Exchange, open REGEDIT and locate the key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ MSExchangeIMC\Parameters

Add a new DWORD value named DisableReverseResolve and set it to 1. You'll need to restart Exchange before this takes effect.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.

This was first published in February 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.