EthDNS and EthLink

EthDNS and EthLink

What is EthDNS?

EthDNS is a way to access information in the Ethereum Name Service (ENS) from DNS.

EthLink is EthDNS for the .eth domain. Because .eth is not a registered DNS top-level domain it is normally inaccessible from DNS, but by appending .link to the domain the relevant information cam be obtained. For example, a DNS A record request for would look up the A records in ENS for mydomain.eth.

What information can be accessed from EthDNS?

DNS information held in ENS can be accessed in exactly the same way as traditional DNS.

How to access EthDNS

EthDNS is operated as a DNS-over-HTTPS server. It uses HTTPS protocol to perform DNS resolution. Its endpoint is

It resolves regular DNS as well as ENS registered domains.

$ curl -H 'content-type: application/dns-json' ''

To access it through standard DNS query, you need to setup a DNS proxy to You can use DNSCrypt-Proxy or cloudflared.

How does EthDNS work with IPFS?

ENS has a contenthash field which contains a pointer to content somewhere on the internet, most commonly in IPFS. If EthDNS is asked to serve a domain with a contenthash it will carry out the following operations:

For example:

$ dig @ +short wealdtech.eth A
$ dig @ +short wealdtech.eth TXT

This is used by to create a reverse proxy sitting in front of an IPFS Gateway.

The practical upshot of this is that if a user enters the URL in to their web browser it will return IPFS content based on the information within ENS without any changes required to their system (browser plugins, alternate DNS servers, etc.).

How do I add a content hash to my domain?

Content hashes can be managed at

There are also various libraries and CLI tools that can manage content hashes.

How do I add DNS information to my domain?

There are various libraries and CLI tools that can manage DNS information on ENS.

Are domains other than .eth supported?

EthLink only applies to .eth domains, however other domains registered in ENS can be accessed directly when enabled.

How do I enable ENS-based resolution of my DNS information?

Enabling ENS-based resolution is a simple case of using the EthLink. You should CNAME your domain to TLS certificate is available on demand.

For instance, DNS record looks like CNAME 3600

Further reading

A Name Resolver for the Distributed Web

The basic workings of EthDNS, the system that enables DNS records on ENS.

Details of how DNSLink records are handled by IPFS gateways.