Skip to content

Instantly share code, notes, and snippets.

@fduran
Created February 20, 2012 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fduran/1870546 to your computer and use it in GitHub Desktop.
Save fduran/1870546 to your computer and use it in GitHub Desktop.
Linux check DNS cache snooping
# www.fduran.com
# Linux check DNS cache snooping
# check if somedomain (try popular ones like google.com etc) is cached in a dns_server
# with nslookup
nslookup -norecurse somedomain dns_server
# with dig
dig @dns_server somedomain A +norecurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment