Below are the quick command to check a domain name TXT DNS record using Mac OSX terminal.

dig -t txt example.com