no edit summary
[https://github.com/zonedb/zonedb ZoneDB] is an open-source database of public [[DNS]] zones and their related metadata. It attempts to be exhaustive, including current, retired, and withdrawn top-level domains and subdomains. It's primarily useful as a software library for domain- and web-related tools.
Its <tt>[https://github.com/zonedb/zonedb/blob/master/zones.txt zones.txt]</tt> file contains the full list of zones, and each entry's corresponding <tt>metadata/</tt> json file contains associated metadata. For example, the <tt>tokyo.json</tt> file contains relevant tags like <tt>city</tt> and <tt>geo</tt>, as well as Tokyo's ISO-3166-2 code, <tt>JP-13</tt>.