TLD の WHOIS Server を集める

ワンライナーで集める

wget -qO - http://www.iana.org/domains/root/db | egrep -o "domains.+html" | while read uri; do echo \'$(echo ${uri} | cut -d/ -f4 | cut -d. -f1)\' =\> \'$(wget -qO - http://www.iana.org/${uri} | egrep -o "WHOIS Server:</b> .+$" | awk '{print $3}')\',; done