Skip to content
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

feat: add Default OpenNIC domain DoH configuration. #9200

Closed
wants to merge 2 commits into from

Conversation

matyapiro31
Copy link

@matyapiro31 matyapiro31 commented Aug 17, 2022

This adds OpenNIC domains (non-ICANN) resolver to default resolvers.

DoH service provider is ethservices, who has been providing DoH service from 2021.

TLDs provided by OpenNIC are:

.bbs
.chan
.cyb
.dyn
.geek
.gopher
.indy
.libre
.neo
.null
.o
.oss
.oz
.parody
.pirate

This adds OpenNIC domains (non-ICANN) resolver to default resolvers.
Domains added is 
.bbs
.chan
.cyb
.dyn
.geek
.gopher
.indy
.libre
.neo
.null
.o
.oss
.oz
.parody
.pirate
@matyapiro31 matyapiro31 changed the title Add Default OpenNIC domain DoH configuration. feature: add Default OpenNIC domain DoH configuration. Aug 19, 2022
@lidel lidel changed the title feature: add Default OpenNIC domain DoH configuration. feat: add Default OpenNIC domain DoH configuration. Nov 14, 2022
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenNIC has been around for over two decades, and the community provides multiple endpoints in the spirit of distributed web.

Supporting OpenNIC TLDs in Kubo will bring support for DNSLinks on these TLDs on public and local gateways, including IPFS Desktop and ipns:// backed by Kubo in Brave (if no custom DoH is selected by the user in Brave Settings).

@matyapiro31 some asks/questions we need to address first:

  1. DNS.Resolvers (config docs) needs to be updated
    • all implicit TLDs from this list need to be listed under Default.
  2. I see this PR is fairly conservative and does not include Peered TLDs
  3. Unsure how future-proof is hard-coding a single DoH endpoint from a smaller service (note that the other ones are from Cloudflare)
    • My suggestion is to park this until we can provide a robust solution that won't fail due to a single server being down. This means:
      • support for multiple Resolvers per TLD, as noted in Add DNS Fallback Resolvers #8173 (comment) – this will be perfect for OpenNIC, as we could have many resolvers and no single point of failure.
        • is this something you would be interesting to submit PR for @matyapiro31? (I am personally willing to allocate review time to land it, as it makes things way more robust)
        • (optional) support for DNSCrypt and/or DNS-over-TLS, allowing us to ship defaults with more OpenNIC servers from https://servers.opennic.org/

@lidel lidel added help wanted Seeking public contribution on this issue status/blocked Unable to be worked further until needs are met need/analysis Needs further analysis before proceeding labels Nov 14, 2022
@matyapiro31
Copy link
Author

  1. Ok, I'll add PR for docs.
  2. The reason my PR is conservative is just I don't trust peered TLDs. If it's better to add all peered TLDs, I need to do some more PR to add such domains in https://github.com/jbenet/go-is-domain .
  3. Multiple default DoH is my best idea. It's actually small service. OpenNIC has many DoH providers.

@aschmahmann
Copy link
Contributor

@matyapiro31 are you still planning to continue on this PR and #8173, or should we close for now?

@aschmahmann aschmahmann marked this pull request as draft May 8, 2023 13:26
@matyapiro31
Copy link
Author

I close this PR.
@aschmahmann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Seeking public contribution on this issue need/analysis Needs further analysis before proceeding status/blocked Unable to be worked further until needs are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants