Created
September 28, 2018 06:52
-
-
Save outloudvi/c18b9a9bdb1f37abc5a09b93695c03fb to your computer and use it in GitHub Desktop.
A tiny shell script to check a domain with many server...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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