How to check DNS records with nslookup

Use nslookup to check the DNS records of any domain.

Use the any option of nslookup to view all DNS records of a domain:

$ nslookup -type=any my_domain_name.com

In our example below we're querying the DNS records of google.com:

$ nslookup -type=any google.com

;; Truncated, retrying in TCP mode.
Server:     192.168.0.1
Address:    192.168.0.1#53

Non-authoritative answer:
google.com  text = "v=spf1 include:_spf.google.com ~all"
google.com  text = "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
google.com  text = "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"
google.com  text = "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
google.com  text = "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"
google.com  text = "apple-domain-verification=30afIBcvSuDV2PLX"
google.com  text = "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"
google.com  text = "webexdomainverification.8YX6G=6e6922db-e3e6-4a36-904e-a805c28087fa"
google.com  text = "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"
google.com  text = "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="
google.com  text = "onetrust-domain-verification=de01ed21f2fa4d8781cbc3ffb89cf4ef"
google.com  text = "atlassian-domain-verification=5YjTmWmjI92ewqkx2oXmBaD60Td9zWon9r6eakvHX6B77zzkFQto8PQ9QsKnbf4I"
google.com  rdata_65 = \# 13 00010000010006026832026833
google.com  has AAAA address 2a00:1450:400d:806::200e
google.com
    origin = ns1.google.com
    mail addr = dns-admin.google.com
    serial = 502045035
    refresh = 900
    retry = 900
    expire = 1800
    minimum = 60
Name:   google.com
Address: 142.250.180.206
google.com  nameserver = ns3.google.com.
google.com  nameserver = ns4.google.com.
google.com  nameserver = ns2.google.com.
google.com  nameserver = ns1.google.com.

Authoritative answers can be found from: