Microsoft KB Archive/330070

= XADM: Mail May Not Be Delivered When DNS Resolution Uses Only the UDP Protocol =

Article ID: 330070

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange 2000 Enterprise Server

-



This article was previously published under Q330070





SYMPTOMS
When you configure your DNS servers to accept name resolution requests by using only the User Datagram Protocol (UDP), mail to domains whose name resolutions return a truncated response may not be delivered.



CAUSE
This issue occurs if the Simple Mail Transfer Protocol (SMTP) server is configured to try UDP first, and to then failover to Transmission Control Protocol (TCP) after it receives a truncated name resolution response.

When the SMTP server receives the truncated response over UDP, it tries to use TCP to resolve the domain names. However, because the DNS servers are configured to not support TCP, mail delivery is not successful.

NOTE: When this issue occurs, the SMTP service logs an event, which states that it failed to connect to DNS over TCP. Because the administrator is aware that the DNS servers do not support TCP in this case, the administrator will be alerted to the cause of this behavior.



WORKAROUND
To work around this issue, reconfigure the SMTP service to use only UDP. To do this, edit the Microsoft Internet Information Services (IIS) metabase. To use the MetaEdit utility to edit the IIS metabase, follow these steps.

WARNING
 * Microsoft provides this utility &quot;as-is,&quot; without the warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and or fitness for a particular purpose. This article assumes that you are familiar with the IIS metabase and the tools that are used to back up and to restore the metabase. Microsoft support professionals can only help explain the functionality of the IIS snap-in for the Microsoft Management Console (MMC).
 * Using the MetaEdit utility incorrectly causes serious problems that require you to re-install IIS or your operating system. Microsoft cannot guarantee that problems that result from the incorrect use of the MetaEdit utility can be solved. Use MetaEdit at your own risk.
 * For information about how to edit the IIS metabase, view the Help topics in MetaEdit.

NOTE: Always back up the metabase by using the IIS snap-in for the MMC before you edit the metabase. Verify that the backup copy can be restored if a problem occurs. For more information, view the &quot;Configuration Backup/Restore&quot; Help topic in the MMC.

 Obtain and install the MetaEdit utility.For additional information about how to obtain and install the MetaEdit utility, click the article number below to view the article in the Microsoft Knowledge Base:

232068 HOW TO: Download, Install, and Remove the IIS MetaEdit 2.2 Utility

 Perform a backup of the IIS metabase. To do this, follow these steps:  Start the IIS snap-in. To do this, click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager. Right-click the server object, and then click Backup/Restore Configuration. Click Create backup, type a descriptive name for the backup, click OK, and then click Close.</ol> </li> Start MetaEdit 2.2.</li> Expand LM, and then click SmtpSvc.</li> In the right pane of the Metabase Editor, search the Id column for a DWORD value with the Id of 36997. Right-click 36997 (if it is listed), and then click Modify. If this DWORD value is not listed, create it. To do this: <ol style="list-style-type: lower-alpha;"> Click SmtpSvc in the left pane of the Metabase Editor (if it is not already selected).</li> On the Edit menu, point to New, and then click DWORD.</li> In the box that is next to the Id list, type 36997 .</li></ol> </li> In the Edit Metabase Data dialog box, type 2 in the Data box, and then click OK.

The following list describes the options for the 36997 DWORD value:

<pre class="fixed_text">Value:      Description:

0x0         UDP followed by TCP upon truncation

0x1         TCP only

0x2         UDP only

</li> Quit the Metabase Editor.</li></ol>

Keywords: kbprb KB330070

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.