title: Using dig to search for SPF records
body: <p>I am using <a href="http://en.wikipedia.org/wiki/Dig_%28command%29" rel="nofollow noreferrer">dig</a> installed on my machine to search for <a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework" rel="nofollow noreferrer">SPF</a> records for a particular domain. Is there a way to search a particular DNS server for the SPF records?</p>
  <p>For example, will the following work?</p>
  <pre><code>dig domain.example txt host ns1.nameserver1.example
  
  dig domain.example txt host ns2.nameserver2.example
  </code></pre>