试图解决:
nslookup testserverinlocaldns
服务器:127.0.0.1
地址:127.0.0.1#53
** 服务器找不到 testserverinlocaldns: NXDOMAIN
10 秒后一切正常:
nslookup testserverinlocaldns
服务器:127.0.0.1
地址:127.0.0.1#53
名称:testserverinlocaldns.localnet
地址:192.168.3.8
同样的事情一次又一次。有时它会解决,有时不会。当我手动将 resolv.conf 设置为本地 DNS 服务器时 - 一切正常。但是重启后它又回到 127.0.0.1。