Skip to content

Instantly share code, notes, and snippets.

@delfer
Last active January 13, 2022 21:12
Show Gist options
  • Save delfer/34f0d85d1f4474e6d9fd4c47f749bcb8 to your computer and use it in GitHub Desktop.
Save delfer/34f0d85d1f4474e6d9fd4c47f749bcb8 to your computer and use it in GitHub Desktop.
DNS benchmark to choose better server
#dig form bind-utils
while read DNS; do
echo $DNS
dig @$DNS getbootstrap.com | grep "Query time:"
done <dns.list
209.244.0.3
64.6.65.6
64.6.64.6
8.8.4.4
8.8.8.8
149.112.112.112
9.9.9.9
84.200.70.40
84.200.69.80
8.20.247.20
8.26.56.26
208.67.220.220
208.67.222.222
199.85.127.10
199.85.126.10
209.88.198.133
81.218.119.11
195.46.39.40
195.46.39.39
23.94.60.240
69.195.152.204
208.76.51.51
208.76.50.50
216.146.36.36
216.146.35.35
37.235.1.177
37.235.1.174
23.253.163.53
198.101.242.72
77.88.8.1
77.88.8.8
89.233.43.71
91.239.100.100
74.82.42.42
109.69.8.51
156.154.71.1
156.154.70.1
1.0.0.1
1.1.1.1
45.77.165.194
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment