dig和nslookup

nslookup 就是用来作为 IP 与主机名对应的检查, 同样是使用 /etc/resolv.conf 这个文件来作为 DNS 服务器的来源选择。还可以由 IP 找出主机名 使用 dig 这个命令来取代 nslookup

https://yq.aliyun.com/articles/418787 http://linux.vbird.org/linux_server/0350dns.php#DNS_resolver 鸟哥dig

Last updated

Was this helpful?