Skip to content

nslookup 和 dig 命令的使用

solei1 edited this page Mar 28, 2017 · 2 revisions

nslookup -type=any baidu.com 8.8.8.8

其中any可以替换为mx,ns,A

dig baidu.com any 8.8.8.8

any可以替换成mx,ns,A

dig只显示结果 dig @dns baidu.com any +short

dig追踪查询过程 dig +trace www.baidu.com