Self-updating Java API to get top-level domains.
- Background self-updating from official iana.org source.
- Stores updates in Java Preferences API to reduce queries of data.iana.org.
Top level domains have become a moving target. Any API that includes a hard-coded list, array, enumeration, or even an external flatfile of top level domains will require some routine maintenance to update the list. We support many well-established and largely set-it-and-forget-it apps that routinely go long time periods without updates. We prefer to write low maintenance code and existing solutions do not fulfill this requirement.