nslookup 强大的调试DNS工具

2 min read

nslookup - 8.8.8.8 进入 REPL 方便调试, 8.8.8.8 是Google开放的DNS 备选 8.8.4.4
结果解释:

> bytenote.net
Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	bytenote.net
Address: 47.114.148.143

Non-authoritative answer: 表示这是从缓存得到的结果,不一定准确
Server:上连DNS服务器的IP,

Address:上连DNS的IP#端口 通常是53
canonical name 即CNAME 别名