Skip to content

Configurable DNS Servers #6532

@lidel

Description

@lidel

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions