Skip to content

Instantly share code, notes, and snippets.

@koryonik
Last active October 18, 2016 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koryonik/5006b7bad5b2b237d3eebe13207f7c5c to your computer and use it in GitHub Desktop.
Save koryonik/5006b7bad5b2b237d3eebe13207f7c5c to your computer and use it in GitHub Desktop.
Testing name servers
#Global test
dig mydomain.com
#List authoritative name servers
dig @8.8.8.8 +short NS mydomain.com
# Check MX configuration
dig mydomain.com MX
# list all records
dig +nocmd yourdomain.com any +multiline +noall +answer
#or if zone transfert is allowed :
host -l bestrade.co
dig -tAXFR bestrade.co
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment