DNS域名排查命令dig 2019年02月27日 典型用法 $ dig @8.8.8.8 www.wandaijin.com # dig @DnsServerOrDnsIP DomainName type 如果dig后面没有参数,将直接查询根域名(“.”)信息,如果没有指明DNS服务器则尝试依次使用/etc/resolv.conf中的服务器配置信息 DNS反向查找 $ dig -x 8.8.8.8 参考资料 https://linux.die.net/man/1/dig https://en.wikipedia.org/wiki/Dig_(command)