Command fu: a function to find the fastest free DNS server

timeDNS() { parallel -j0 –tag dig @{} “$*” ::: 208.67.222.222 208.67.220.220 198.153.192.1 198.153.194.1 156.154.70.1 156.154.71.1 8.8.8.8 8.8.4.4 | grep Query | sort -nk5; }

http://www.commandlinefu.com/commands/view/14188/a-function-to-find-the-fastest-free-dns-server

Tagged with: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.