ayi_2 <p>Dig will also do it quite nicely: <code>dig -t txt example.com</code> and if you add the <code>+short</code> option you get just the txt record in quote marks with no other cruft.</p>