-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add DNS Fallback Resolvers #8173
Comments
For community members who may be interested in submitting a PR for this, some great pointers from @lidel:
Before starting implementation, one should post the proposed design as a comment here (how config would look like, what implicit default would be, and what needs to be changed to make that possible). Please also ping @lidel and myself to ensure the proposed design is included during their weekly triage session. By getting confirmation on design and config bikeshed first, we avoid investing time into approach that can't be accepted into the main branch and have more confidence moving forward. |
Dropping a quick implementation note if anyone wants to work on this:
This behavior should be enough to support HNS while minimizing privacy concerns around sending all DNS queries to Handshake community-maintained server – we would only send things that were not found on ICANN system, which makes a way safer behavior and is an useful feature for increased robustness of DNS lookup in general |
An additional feature request coming from #8836 is to allow passing more than one resolver per TLD in In Kubo's config we have a special type which is "String or Array of Strings" – prior art in |
This issue arises from a chat between Namebase team and @lidel from Protocol Labs about integrating Handshake with IPFS
Given the goals of:
IPFS can accomplish these goals while supporting non-ICANN namespaces by adding a “fallback” resolver option to DNS.Resolvers that points to a list of DoH endpoints. Each DoH endpoint can point to a different decentralized naming system. When a query fails to resolve through the “.” resolver, query all of the “fallback” resolvers. If one of the resolvers has a match without conflict, then proceed with fetching the IPFS file. Otherwise if there’s a conflict, return an error code (ie HTTP 409 conflict).
The “fallback” setting can be set by default to [“https://query.hdns.io/dns-query”] which is HDNS.io’s Handshake DoH resolver (note that HDNS.io doesn’t log or store IP addresses or any other personal information, as specified in the privacy policy linked on the website). Polkadomain.org and butterflyprotocol.io — two other decentralized naming systems which issue TLDs — can be added as well when they create their own DoH resolvers and issue a PR
The text was updated successfully, but these errors were encountered: