NOTE
dig
Usage Output Explanation nslookup obtains an IP from the DNS server cache, while dig obtains the IP from the authoritative server. It is divided into several parts: What is being queried What the result is What the authoritative server is Information
This is a historical learning note and may contain outdated or incomplete understanding.
Usage
dig www.baidu.com
Output

Explanation
nslookup obtains an IP from the DNS server cache, while dig obtains the IP from the authoritative server. It is divided into several parts: What is being queried What the result is What the authoritative server is Information about the authoritative server Response time
CNAME type: A points to IPv4 AAAA points to IPv6 NS points to the authoritative name server
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub