Zonedb
Appearance
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 zones.txt file contains the full list of zones, and each entry's corresponding metadata/ json file contains associated metadata. For example, the tokyo.json file contains relevant tags like city and geo, as well as Tokyo's ISO-3166-2 code, JP-13.