OpenNIC list of Nearest Servers Options are passed as paramenters in the URL. Type of results: bare -- Only list the server IP addresses json -- Generate JSON data jsonp -- Generate a JSON array list -- (default) List servers including name and reliability ns -- Create a list of nameservers resolv -- Provide a useable resolv.conf file Variables: adm=x -- The first x servers will have unique admins (Defaults to 66% of the list) anon=true -- Only list servers that have specified none or anonymous logging ip=x.x.x.x -- Provide servers nearest the given IP address res=x -- Change the number of results pct=x -- (default=95) Change the threshold percentage for acceptable server reliability, given as a whole integer lat=x&lon=x -- Set the reference lat/lon for your location ipv=(4|6|all) -- Specify which class of IP addresses to return. 4 = Only list IPv4 servers 6 = Only list IPv6 servers all = Include both IPv4 and IPv6 servers 64 = Include all server, but list IPv6 address when both exist rnd=true -- Randomize the returned server order bl -- Include blacklist servers in the results. wl(=all) -- Include whitelist servers in the results. If you specify wl=all, ONLY whitelist servers will be shown. Examples: ?json -- Output JSON data ?resolv&res=5 -- Generate a resolv.conf file with 5 nameservers ?res=8&bare&pct=90 -- Return a list of 8 IP addresses where the servers have a reliability of 90% or greater ?res=4&adm=4&wl -- Return a list of 4 servers from 4 different admins, including whitelist servers Results are cached for 5 minutes. Please don't query more often than this, the answers don't change that frequently!