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 server3.com by server4.com; 27 Oct 96 15:27:39 PST
Received: from server2.com by server3.com; 27 May 02 15:15:13 PST
Received: from server1.com by server2.com; 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
To disable reverse DNS in Exchange, open REGEDIT and locate the key:
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