Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using dig to search for SPF records [closed]

Tags:

dns

dig

I am using dig installed on my machine to search for SPF records for a particular domain. Is there a way to search a particular DNS server for the SPF records?

For example, will the following work?

dig domain.com txt host ns1.nameserver1.com  dig domain.com txt host ns2.nameserver2.com 
like image 589
bjtilley Avatar asked Nov 02 '10 23:11

bjtilley


1 Answers

I believe that I found the correct answer through this dig How To. I was able to look up the SPF records on a specific DNS, by using the following query:

dig @ns1.nameserver1.com domain.com txt 
like image 119
bjtilley Avatar answered Oct 01 '22 18:10

bjtilley