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
10 nmap Commands Every Sysadmin Should Know
Viewed 10042 times since Wed, May 22, 2019
Linux / UNIX: Run Command a Number of Times In a Row
Viewed 15986 times since Tue, Aug 6, 2019
python learning
Viewed 1968 times since Wed, Dec 18, 2019
How To Add Swap Space on Ubuntu 16.04
Viewed 2412 times since Fri, Jun 8, 2018
Method 2 – Use shell scripts How to install yum cron on a CentOS/RHEL 6.x/7.x
Viewed 4222 times since Tue, Dec 4, 2018
RHEL: Getting/Setting hardware clock’s time
Viewed 3138 times since Sat, Jun 2, 2018
Find All Large Files On A Linux System
Viewed 2287 times since Mon, Oct 29, 2018
debian Install a newer kernel in Debian 9 (stretch) stable
Viewed 1856 times since Sun, Sep 23, 2018
RHEL: Crash kernel dumps configuration and analysis on RHEL 7
Viewed 7226 times since Sat, Jun 2, 2018
Używanie rsync poprzez Secure Shell
Viewed 41327 times since Thu, May 24, 2018