[Linux] Check Domain TXT Records with nslookup -q=txt Command

Tadashi Shigeoka ·  Sun, May 26, 2013

I’ll introduce how to check a domain’s TXT records using the nslookup command with the -q=txt option.

Linux

Here’s the result of checking the TXT records for the domain example.com:

$ nslookup -q=txt example.com
Server:    192.168.50.1
Address:  192.168.50.1#53

Non-authoritative answer:
example.com  text = "v=spf1 -all"
example.com  text = "wgyf8z8cgvm2qmxpnbnldrcltvk4xqfn"

Authoritative answers can be found from:

That’s all from the Gemba for checking domain TXT records using the nslookup command with the -q=txt option.