我有一台旧的 Windows XP SP3 计算机,我们最近购买了 Sophos Endpoint Protection。在安装该程序之前,我注意到的一件事是计算机无法 ping 服务器的 DNS 名称。它可以通过 Windows 资源管理器使用 IP 地址连接到服务器,但不能使用计算机名称。该服务器也是 DNS 服务器和 DHCP 服务器,但计算机是静态的。
我尝试过的事情:
我尝试在任何机器上运行 NSlookup,但都找不到任何内容
Ipconfig /flushdns
Arp-d *
删除了计算机的正向和反向 DNS 记录
ipconfig /registerdns 确实在服务器上创建了一个新条目
重启机器
我在其他电脑上遇到了一些其他问题,无法获取 Sophos 更新,但这些机器能够通过资源管理器正常连接,所以我正在与 Sophos 合作解决此问题。这很奇怪。
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\custom4>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : PC-59
Primary Dns Suffix . . . . . . . : companyname.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : companyname.local
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connecti
on
Physical Address. . . . . . . . . : 00-16-76-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.38
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.3
192.168.0.7
Primary WINS Server . . . . . . . : 192.168.0.3
C:\Documents and Settings\custom4>
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\custom4>nslookup server-dc2
*** Can't find server name for address 192.168.0.7: Non-existent domain
*** Can't find server name for address 192.168.0.3: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.0.7
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
C:\Documents and Settings\custom4>nslookup server-file
*** Can't find server name for address 192.168.0.7: Non-existent domain
*** Can't find server name for address 192.168.0.3: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.0.7
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
C:\Documents and Settings\custom4>nslookup computer-66 192.168.0.120
*** Can't find server name for address 192.168.0.120: No response from server
Server: UnKnown
Address: 192.168.0.120
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
C:\Documents and Settings\custom4>
C:\Documents and Settings\custom4>nslookup server-dc2 192.168.0.3
*** Can't find server name for address 192.168.0.3: Non-existent domain
Server: UnKnown
Address: 192.168.0.3
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
C:\Documents and Settings\custom4>
答案1
经过一些额外的故障排除后,通过将正确的 DNS 后缀放入网络设置,问题得以解决。由于 DNS 请求使用的是 FQDN,而不仅仅是主机名 - 似乎这可能是问题所在。聊天中 OP 提供了很棒的信息。