Last active
August 17, 2016 04:47
-
-
Save ifduyue/3f1ab70f8bf63d657a9a3edf8cc19bf6 to your computer and use it in GitHub Desktop.
Generate dnsmasq servers-file, servers come from public-dns.info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sSL http://public-dns.info/nameserver/cn.txt | perl -MList::Util=shuffle -e 'print shuffle<STDIN>' | head -n10 | xargs -L1 -I{} echo "server={}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment