如何验证 Exchange Servers 是否可以解析内部 DNS 名称
上一次修改主题: 2005-11-14
SMTP 在查询 DNS 时,总是先查询 MX 记录。如果存在内部 MX 记录并且/或者其配置不正确,则内部邮件传递将不会工作。
开始之前
在执行本主题中的步骤之前,请阅读验证 DNS 设计和配置。
DNS 解析器工具可以用在运行 Microsoft® Windows® Server™ 2003 的 Exchange Server 上。DNS 解析器工具模拟 SMTP 服务的内部代码路径,并生成诊断消息,以指示 DNS 解析的进展情况。
在要验证其 DNS 配置的计算机上运行 DNS 解析器工具。路径中应包含 %WINDIR%\System32\Inetsrv,这样该工具才能工作。
可以从 Downloads for Exchange Server 2003 网站(英文)下载 DNS 解析器工具。
步骤
如何确认 Exchange Server 是否可以解析内部 DNS 名称
在 Exchange Server 上,打开命令提示窗口,导航到如下目录:
<drive letter>:\WINDOWS\system32\inetsrv
键入如下命令:
dnsdiag internal host name -v 1
其中 internal host name 是组织中另一个 Exchange Server 的完全限定域名。
确认返回了该 Exchange Server 的正确 IP 地址。输出结果应如下所示:
QNAME = example.microsoft.com Type = MX (0xf) Flags = UDP default, TCP on truncation (0x0) Protocol = UDP DNS Servers: (DNS cache will not be used) 172.16.1.101 Connected to DNS 172.16.1.101 over UDP/IP. Received DNS Response: ---------------------- Error: 9501 Description: No records could be located for this name These records were received: microsoft.com SOA Querying via DNSAPI: -------------------- QNAME = example.microsoft.com Type = A (0x1) Flags = DNS_QUERY_TREAT_AS_FQDN, (0x1000) Protocol = Default UDP, TCP on truncation Servers: (DNS cache will be used) Default DNS servers on box. Received DNS Response: ---------------------- Error: 0 Description: Success These records were received: example.microsoft.com A 172.16.1.106 1 A record(s) found for example.microsoft.com Target hostnames and IP addresses --------------------------------- HostName: "example.microsoft.com" 172.16.1.106.