Command:
Code:
nslookup -type=txt DOMAIN-NAME
Here is a detailed example, here we are looking for mx records of Gmail
Code:
dev@ubuntu:~$ nslookup -type=txt gmail.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
gmail.com text = "v=spf1 redirect=_spf.google.com"
gmail.com text = "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+1234567abcdefgh="
Authoritative answers can be found from:
dev@ubuntu:~$
The command to remember is, -type=txt