IANA Root Zone Database
Why do we need it?
We use it to check if an extension is valid/exists.
How does it work?
Note
Want to read the parser code ? It’s here
IanaDBGenerator!
The root zone database is saved into the iana-domains-db.json file.
It is formatted like below and is automatically merged for the end-user before
each test run.
{
"extension": "whois_server"
}
In-app, while testing for a domain, we check if the extension is listed there
before doing some extra verifications.
If not, domain(s) will be flagged as INVALID.
How to generate it manually?
You can’t and should not as we are automatically generating it every 24 hours.
But using the iana-pyfunceble CLI will do the job on purpose.