Skip to content

Instantly share code, notes, and snippets.

@dgoguerra
Last active September 19, 2016 08:38
Show Gist options
  • Save dgoguerra/866ce5da53dd5d5c921d0eddaf76fc6d to your computer and use it in GitHub Desktop.
Save dgoguerra/866ce5da53dd5d5c921d0eddaf76fc6d to your computer and use it in GitHub Desktop.
DNS lookup

Start of Authority record and authoritative servers of a given domain (see stackoverflow answer):

nslookup -type=soa example.com

Lookup a domain from a particular server. If the DNS server is authoritative for that domain, the response will not be cached (see serverfault answer):

dig @ns1.example.com example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment