nslookup捡错地址

使用nslookup时,我的所有客户端机器都正在拾取不正确的服务器地址。 使用ipconfig / all时,我也会得到不正确的DNS服务器

C:\Users\>nslookup Default Server: UnKnown Address: 192.168.3.2 C:\Users\>ipconfig /all *(edited for relavent info)* Default Gateway . . . . . . . . . : 192.168.3.1 DHCP Server . . . . . . . . . . . : 192.168.3.1 DNS Servers . . . . . . . . . . . : 192.168.3.2 . . . . . . . . . . . . . . . . . . . . . . : 192.168.2.70 NetBIOS over Tcpip. . . . . . . . : Enabled 

有问题的192.168.3.2服务器是部分设置的DC,安装了DNSangular色,但我不相信它实际上正在使用。 我最终不得不做一个强制的dcpromo和元数据清理删除它。 我search了整个DNSpipe理和AD网站和服务,并删除了所有的痕迹,这是NSLOOKUP回来与未知的原因,但我无法find它从哪里被拉。 此外,DHCP和网关运行在旧的思科ASA,但它只使用192.168.2.70地址。 如果我手动configuration计算机的主DNS和辅助DNS,那么一切都很好,但目前我们所有的客户端计算机都设置为自动。 主DNS应该是192.168.3.40,因为它是具有FSMOangular色,DNS和其他关键function的PDC。

 C:\Users\>netsh dhcp show server 6 Servers were found in the directory service: Server [SERVER.company.local] Address [192.168.1.2] Ds location: cn=SERVER.company.local Server [exch2k7.company.local] Address [192.168.2.3] Ds location: cn=exch2k7.company.local Server [server.company.local] Address [192.168.3.40] Ds location: cn=server.company.local Server [server-dc2.company.local] Address [192.168.2.70] Ds location: cn=Server-dc2.company.local Server [server-dc2.company.local] Address [10.10.10.20] Ds location: cn=Server-dc2.company.local Server [server-hyperv.company.local] Address [192.168.1.3] Ds location: cn=server-hyperv.company.local 

在这个列表中唯一实际运行的DHCP是192.168.2.70,但是它在我们的Colo中,没有任何客户端运行的机器。

 C:\Users\>nltest /dnsgetdc:company.local List of DCs in pseudo-random order taking into account SRV priorities and weights: Non-Site specific: server-dc2.company.local 192.168.2.70 exch2k7.company.local 192.168.2.3 10.10.10.10 server.company.local 192.168.3.40 The command completed successfully 

修复您的DHCP服务器,192.168.3.1又名“旧思科ASA”,分发您要使用的域名服务器的地址。

DHCP服务器正在将DNS服务器分配给客户端,而这正是您需要修复此问题的地方。 ASA本身使用192.168.2.70作为DNS的事实意味着它使用192.168.2.70作为自己的DNSparsing,这并不意味着它将192.168.2.70分配给DHCP客户端。