networking:dns:dns_performance_tests
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
networking:dns:dns_performance_tests [2020/04/14 16:11] – peter | networking:dns:dns_performance_tests [2021/01/07 12:12] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Networking - DNS - DNS Performance Tests ====== | ====== Networking - DNS - DNS Performance Tests ====== | ||
+ | |||
+ | Determine which DNS server is the quickest to use. | ||
+ | |||
+ | If all you care about is speed, then the DNS with the lower number for the websites you care about is probably your best bet. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Required ===== | ||
+ | |||
+ | You need to install bc and dig. For Ubuntu: | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install bc dnsutils | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Install ===== | ||
<code bash> | <code bash> | ||
git clone --depth=1 https:// | git clone --depth=1 https:// | ||
- | cd dnsperftest | ||
- | bash ./ | ||
</ | </ | ||
Line 20: | Line 36: | ||
PROVIDERS=" | PROVIDERS=" | ||
- | 192.168.1.2# | + | 192.168.1.1# |
+ | 192.168.1.2# | ||
1.1.1.1# | 1.1.1.1# | ||
4.2.2.1# | 4.2.2.1# | ||
Line 75: | Line 92: | ||
exit 0; | exit 0; | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Run ===== | ||
+ | |||
+ | <code bash> | ||
+ | cd dnsperftest | ||
+ | bash ./ | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | test1 | ||
+ | 127.0.0.53 | ||
+ | Peter 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1.00 | ||
+ | cloudflare | ||
+ | level3 | ||
+ | google | ||
+ | quad9 20 ms 18 ms 23 ms 22 ms 14 ms 120 ms 15 ms 20 ms 16 ms 23 ms 29.10 | ||
+ | freenom | ||
+ | opendns | ||
+ | norton | ||
+ | cleanbrowsing | ||
+ | yandex | ||
+ | adguard | ||
+ | neustar | ||
+ | comodo | ||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | <code bash> | ||
+ | dnstest.sh | sort -k 22 -n | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== For Windows users using the Linux subsystem ==== | ||
+ | |||
+ | If you receive an error **< | ||
+ | |||
+ | <code bash> | ||
+ | tr -d ' | ||
+ | </ | ||
+ | |||
+ | Then run bash ./ | ||
+ | </ | ||
---- | ---- | ||
Line 149: | Line 215: | ||
</ | </ | ||
- | returns: | ||
- | |||
- | <code bash> | ||
- | test1 | ||
- | 127.0.0.53 | ||
- | Peter 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1.00 | ||
- | cloudflare | ||
- | level3 | ||
- | google | ||
- | quad9 20 ms 18 ms 23 ms 22 ms 14 ms 120 ms 15 ms 20 ms 16 ms 23 ms 29.10 | ||
- | freenom | ||
- | opendns | ||
- | norton | ||
- | cleanbrowsing | ||
- | yandex | ||
- | adguard | ||
- | neustar | ||
- | comodo | ||
- | </ | ||
---- | ---- | ||
Line 174: | Line 221: | ||
https:// | https:// | ||
+ | |||
+ | https:// | ||
networking/dns/dns_performance_tests.1586880709.txt.gz · Last modified: 2020/07/15 09:30 (external edit)