Skip to content

Instantly share code, notes, and snippets.

@cmpscabral
Created November 7, 2016 15:42
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 cmpscabral/ad6dbe0d6478ef6ae591e821d49ebf3f to your computer and use it in GitHub Desktop.
Save cmpscabral/ad6dbe0d6478ef6ae591e821d49ebf3f to your computer and use it in GitHub Desktop.
compare DNS records
diff <(sort -u <(dig +nottlid +noall +answer @ns.myfirstserver.com example.com ANY) ) <(sort -u <(dig +nottlid +noall +answer @ns.mysecondserver.com example.com ANY) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment