Skip to content

Instantly share code, notes, and snippets.

@outloudvi
Created September 28, 2018 06:52
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 outloudvi/c18b9a9bdb1f37abc5a09b93695c03fb to your computer and use it in GitHub Desktop.
Save outloudvi/c18b9a9bdb1f37abc5a09b93695c03fb to your computer and use it in GitHub Desktop.
A tiny shell script to check a domain with many server...
#!/bin/sh
echo "IPDiff >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo "Checking domain $1..."
echo "DNSCrypt : `dig @127.0.0.53 $1 +short | tr -t '\n' ' '`"
echo ">>>>>>>>>>> MAINLAND >>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo "114DNS : `dig @114.114.114.114 $1 +short | tr -t '\n' ' '`"
echo "CNNIC SDNS : `dig @1.2.4.8 $1 +short | tr -t '\n' ' '`"
# echo "DNSPod DNS+ : `dig @119.29.29.29 $1 +short | tr -t '\n' ' '`"
echo "BaiduDNS : `dig @180.76.76.76 $1 +short | tr -t '\n' ' '`"
echo ">>>>>>>>>>> GLOBAL >>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo "OpenDNS : `dig @208.67.222.222 $1 +short | tr -t '\n' ' '`"
echo "CloudFlareDNS: `dig @1.1.1.1 $1 +short | tr -t '\n' ' '`"
echo "IBM Quad9 : `dig @9.9.9.9 $1 +short | tr -t '\n' ' '`"
echo "Google PubDNS: `dig @8.8.8.8 $1 +short | tr -t '\n' ' '`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment