Jak znaleźć najszybszy publiczny serwer DNS w Polsce?

curl -s http://public-dns.info/nameserver/pl.csv > list; cat list | cut -d "," -f1 | \
xargs -i timeout 1 ping -c1 -w 1 {} | grep time | \
sed -u "s/.* from \([^:]*\).*time=\([^ ]*\).*/\2\t\1/g" | grep -v "1 packets" | sort -n
 
 
 
source: https://nfsec.pl/1line/5935
Attachments
There are no attachments for this article.
Related Articles RSS Feed
OpenSSL – sprawdzanie czy klucz pasuje do certyfikatu
Viewed 2471 times since Thu, May 24, 2018
Linux – How to check the exit status of several piped commands
Viewed 2756 times since Wed, Jul 25, 2018
Tip: SSD and Linux. Enable TRIM and check if it works
Viewed 7251 times since Fri, May 15, 2020
What UUIDs can do for you
Viewed 1599 times since Tue, Jul 17, 2018
RHEL7 slow ssh login
Viewed 4066 times since Tue, Aug 6, 2019
SSH Essentials: Working with SSH Servers, Clients, and Keys
Viewed 4068 times since Wed, Jun 27, 2018
Using stunnel to Encrypt Database Connections
Viewed 2737 times since Fri, Sep 28, 2018
YUM How to use yum command on CentOS/RHEL
Viewed 6707 times since Thu, Oct 25, 2018
Linux How to reset a root password on Fedora
Viewed 2216 times since Sun, Dec 6, 2020
10 Linux nslookup Command Examples for DNS Lookup
Viewed 9939 times since Sun, Sep 30, 2018