【发布时间】:2018-11-20 08:32:51
【问题描述】:
在我的电脑(windows 10)上,ping.exe 使用的 dns 服务器与 nslookup 使用的 dns 服务器不同。我将 192.168.123.1 设置为我电脑的 dns 服务器,也就是我的路由器。所以 nslookup 使用它作为 dns 服务器:
PS C:\Users\peter> nslookup.exe fm.zju.edu.cn
server: RT-N14U.lan
Address: 192.168.123.1
name: fm.zju.edu.cn
Address: 10.214.0.99
这个ip地址ic正确,是学校内部ip。
但ping结果不同:
PS C:\Users\peter> ipconfig.exe /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
PS C:\Users\peter> ping fm.zju.edu.cn
Pinging fm.zju.edu.cn [210.32.157.99] with 32 bytes of data:
然后我使用 wireshark 发现 ping.exe 向另一个 dns 服务器 114.114.114.114 发送 dns 请求。我曾经使用过这个 dns 服务器,但是我大约一个月没有使用它。
我重置了网络设置,但 ping.exe 仍然使用 114.114.114.114 作为其 dns 服务器。
我不知道如何解决这个问题。
【问题讨论】: