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

Configurable DNS Servers #6532

Closed
9 tasks done
lidel opened this issue Jul 19, 2019 · 1 comment · Fixed by #8068
Closed
9 tasks done

Configurable DNS Servers #6532

lidel opened this issue Jul 19, 2019 · 1 comment · Fixed by #8068
Labels
Milestone

Comments

@lidel
Copy link
Member

lidel commented Jul 19, 2019

Context

Right now go-ipfs uses DNS provided by the operating system.

It brings serious downsides:

Hardening DNS in go-ipfs

There are multiple steps to improve the situation, the basic ones would be:

  • Stop using DNS provided by OS. We are unable to guarantee it uses TLS, it should never be used by go-ipfs.
  • Pick a safe DNS over TLS (or HTTPS) provider and make it implicit default.
    (see https://wiki.mozilla.org/Trusted_Recursive_Resolver for prior art)
  • Make it possible for users to override default DNS resolver via DNS.* config
    • Ideally, we should support plaintext DNS (only on localhost), DNS over TLS and DNS over HTTPS.
      • If we want to minimize the scope: focus on DNS over HTTPS (DoH). It works in browser, and we want to use it in js-ipfs (Support DNS over HTTPS helia-ipns#53) as replacement for calling https://ipfs.io/api/v0/dns all the time.
      • There should be a way to configure custom resolver per TLD or domain

Ongoing work

@Snawoot
Copy link

Snawoot commented Jun 20, 2020

I guess IPFS Companion really needs it due to ipfs/ipfs-companion#900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants