上一次修改主题: 2006-10-12
若要使 Exchange Server 发送 Internet 邮件,Exchange Server 对您所在的域使用的 DNS 服务器必须能够解析外部域名。若要验证 DNS 服务器能够解析外部域名,请使用 DNS 解析器工具 (Dnsdiag.exe)(如果您是在 Windows Server 2003 上运行 Exchange Server 2003)。
在执行本主题中的步骤之前,请阅读验证 DNS 设计和配置。
![]() |
---|
DNS 解析器工具包含在 Microsoft Windows Server 2003 资源工具包工具中。有关如何安装和使用 DNS 解析器工具的详细信息,请参阅 Microsoft Windows Server 2003 Resource Kit Tools(Microsoft Windows Server 2003 资源工具包工具)。 |
在 Exchange Server 上,将 dnsdiag.exe 复制到路径为 C:\WINNT\system32\inetsrv 的目录中,其中,C 是安装 Windows Server 的驱动器。
打开命令提示窗口,并导航到 inetsrv 目录。
请在命令提示符下键入以下内容:
dnsdiag contoso.com -v 1
其中,contoso.com 是外部域,1 是要使用的 SMTP 虚拟服务器的实例数。
此时应显示与所输入的域对应的邮件交换器 (MX) 资源记录。如果未显示该 MX 记录,则说明未配置 DNS 解析外部域名。
下面的示例说明了 example.com 的 DNS 服务器如何解析外部域 contoso.com 的 IP 地址:
Created Async Query:
--------------------
QNAME = contoso.com
Type = MX (0xf)
Flags = UDP default, TCP on truncation (0x0)
Protocol = UDP
DNS Servers: (DNS cache will not be used)
172.16.1.1
Connected to DNS 172.16.1.1 over UDP/IP.
Received DNS Response:
----------------------
Error: 0
Description: Success
These records were received:
contoso.com MX 10 mail.contoso.com
mail.contoso.com A 172.16.1.2
Processing MX/A records in reply.
Sorting MX records by priority.
Target hostnames and IP addresses
---------------------------------
HostName: "mail.contoso.com"
172.16.1.2