Using with IPFS (Kubo)

The most popular IPFS client, Kubo (formally go-ipfs) can be configured to use DNS for native ENS resolution by running the following command:

$ ipfs config --json DNS.Resolvers '{"eth.": ""}'

Verify that the changes have been saved:

$ cat ~/.ipfs/config | jq .DNS
  "Resolvers": {
    "eth.": ""

In order for the changes to take effect, you must restart the IPFS process.

ENS names must be prefixed with /ipns/ in order to successfully resolve them:

$ ipfs resolve -r /ipns/vitalik.eth

Last updated