DNS responses are different between UDP and TCP
Topic Last Modified: 2007-03-16
The Microsoft Exchange Analyzer tool queries the Win32_NetworkAdapterConfiguration Microsoft Windows Management Instrumentation (WMI) class to obtain the DNSServerSearchOrder attribute. This attribute is an array of server IP addresses to be used in querying for Domain Name System (DNS) servers.
After retrieving the address of the primary DNS server, the Exchange Analyzer attempts a DNS query against the configured DNS servers for each Active Directory directory service server. This connection is made by using a custom object processor that performs both a (TCP) Transmission Control Protocol and a User Datagram Protocol (UDP) name resolution request.
If both the TCP and UDP name resolution requests are successful, the Exchange Analyzer compares the returned responses of the successful requests. If the returned responses of the TCP and UDP queries are not the same, the Exchange Analyzer displays a warning.
This warning indicates that there may be DNS server configuration issues that are affecting mail flow performance.
Simple Mail Transfer Protocol (SMTP) is the native mail protocol for mail submission and mail transport for Exchange Server. This means that clients use SMTP to send messages and Exchange servers use SMTP to deliver messages and message data.
For Exchange Server to deliver an outbound internet message via the SMTP service, DNS is employed by the following method:
An internal user sends a message to a recipient in a remote domain.
To determine whether the recipient is local or remote, the SMTP virtual server on the sender's Exchange server uses internal transport functions to query the global catalog server for the recipient address. If the recipient address on the message is not in a recipient policy, it is not stored in Active Directory. Therefore, Exchange determines that the message is destined for a remote domain.
If it is necessary, the Exchange server delivers the message to the appropriate SMTP virtual server.
The SMTP virtual server uses its IIS metabase information to determine the method for delivering a message to a remote domain.
The SMTP virtual server on the Exchange server then performs one of two actions:
Uses DNS to look up the IP address for the target domain, and then tries to deliver the message.
Forwards the message to a smart host that assumes responsibility for the DNS resolution and delivery of the message.
- Uses DNS to look up the IP address for the target domain, and then tries to deliver the message.
To address this warning, consider the guidance in Microsoft Knowledge Base article 820284, "Mail may not be delivered to certain domains if Server OS is Windows Server 2003" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=820284).
For more information about DNS and Exchange Server, see the following Microsoft Knowledge Base articles and WebCast:
322856, "How to configure DNS for use with Exchange Server" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=322856)
263237, "XCON: Windows 2000 and Exchange 2000 SMTP Use TCP DNS Queries" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=263237)
324759, "Support WebCast: Microsoft Exchange 2000 Server: DNS Troubleshooting in Transports" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=324759)