Hi I want to check SPF record of a domain but form command line. please help me to do this. Thanks in advanced.
To clarify, Code: dig google.com txt outputs that domains textfile. This means MX, A, CNAME, and all the other DNS records will be shown. If you just want to see the domain's SPF record, type: Code: dig google.com TXT | grep -i mx The "-i" flag instructs grep to look for and filter the "mx" string in the dig output regardless of case sensitivity.