-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Root NS doesn't always "fall back" to ICANN: only if TLD is on reserved name list #557
Comments
Example: HNS answers for
|
From the whitepaper:
So I guess its a question of trusting the root anchors. Although hsd would still need to be updated if we wanted to resolve "new" ICANN TLDs. |
Another perspective on this, after discussing with @buffrr is that the design might have intended to ignore all new ICANN domains after mainnet launched - simply because those strings would NOT be reserved on HNS and so a collision could be introduced after ICANN adds a new TLD. Imagine the |
I notice something today about the HNS "dynamic fallback". We don't lookup via ICANN just because a name isn't in the HNS root zone. We check our own reserved list (filtered by
root
- so TLDs only not Alexa names) and only check names via ICANN if they are on that internal list. This means that TLDs likeesurance.
which are NO LONGER in the ICANN root zone, and TLDs likeamazon.
which were ADDED to the ICANN root zone after HNS mainnet launch will be resolved incorrectly.I'm not sure the purpose of this, I'm sure the HNS designers were aware that ICANN could/would add more TLDs to its root zone over time.
Seems "obvious" (?) to remove this and fall back to ICANN how we've been thinking it works, but I'll try to see if theres a reason to use an (outdated) root zone for this instead...
hsd/lib/dns/server.js
Lines 328 to 348 in a94ce87
The text was updated successfully, but these errors were encountered: