Advertisement
fduran

Linux check DNS cache snooping

Feb 19th, 2012
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. # www.fduran.com
  2. # Linux check DNS cache snooping
  3. # check if somedomain (try popular ones like google.com etc) is cached in a dns_server
  4.  
  5. # with nslookup
  6. nslookup -norecurse somedomain dns_server
  7.  
  8. # with dig
  9. dig @dns_server somedomain A +norecurse
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement