6
Busybox ping IP有效,但是主机名nslookup失败,并显示“地址错误”
我正在编译自己的3.14内核。我担心我可能遗漏了一些重要的网络功能来使DNS工作。 我无法解析域名。我可以ping我的DNS服务器。我可以解决在其他计算机上使用该DNS的问题,因此我知道它不是服务器。 ~ # cat /etc/resolv.conf nameserver 192.168.13.5 ~ # nslookup google.com Server: 192.168.13.5 Address 1: 192.168.13.5 nslookup: can't resolve 'google.com' ~ # ping -c 1 google.com ping: bad address 'google.com' ~ # ping -c 1 192.168.13.5 PING 192.168.13.5 (192.168.13.5): 56 data bytes 64 bytes from 192.168.13.5: seq=0 ttl=128 time=0.382 …