Arnaud Loos

Categories

  • python

Opennic-query is a simple python program I wrote to bring together the list of DNS servers maintained by OpenNIC and the Namebench DNS testing utility.

https://github.com/ArnaudLoos/opennic-query

OpenNIC describes itself as an “open and democratic alternative DNS root”. It’s a non-profit organization of volunteer-provided DNS servers that enables name resolution in the traditional Top-Level Domain (TLD) registries as well as OpenNIC operated namespaces.

This program queries Opennic Tier2 DNS servers and returns the top 10 closest based on geographic location that also anonymize logs and have greater than 95% uptime. It then passes this list to namebench which tests and recommends the fastest acceptible DNS servers.