Quick host lookup tip

Posted June 9th, 2011 by bryanr

If you would like to query for a particular record type for a domain, then this tip is for you.  In my specific case, I needed to make sure that my mail server was reading the txt record correctly for our domain.  You can use this host command to do so:

#host -t txt <domainname>

You should be able to do the same for any domain if you want to see if they have an SPF record in place to cut down on spoofed mail.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>