The Ethereum Name Service (ENS) is a decentralized naming protocol on Ethereum that maps human-readable names such as alice.eth to machine identifiers, above all wallet addresses, but also content hashes, other chains’ addresses and text records. In the field of Wallets & custody within Crypto & blockchain, ENS sits between the user and the raw 42-character hexadecimal address, reducing the chance of sending funds to the wrong destination.
ENS is often compared with the internet’s Domain Name System, yet the resemblance is functional rather than architectural. Names are owned as on-chain assets, controlled by private keys rather than by a registrar account, and resolution happens by querying smart contracts rather than a hierarchy of DNS servers.
How ENS resolves a name to an address
ENS resolves a name through a two-step lookup: the registry contract says which resolver is responsible for a name, and the resolver contract returns the requested record. Before any lookup, a wallet converts the name into a fixed-length identifier using the namehash algorithm, a recursive Keccak-256 hash that processes labels from right to left, so eth is hashed first and alice is combined with it afterward.
The registry itself stores only three things for each node: the owner, the resolver address and a time-to-live value. All actual data, such as the Ether address or an avatar link, lives in the resolver. This separation lets owners switch resolvers without changing ownership, and it lets developers deploy custom resolvers that compute answers dynamically.
The table below lists the main components a wallet touches during resolution and what each one contributes.
| Component | Role | What it stores or returns |
|---|---|---|
| Registry | Root of trust for all names | Owner, resolver and TTL per node |
| Resolver | Answers record queries | Addresses, content hash, text records |
| Registrar | Allocates names under a top-level name | Registration and renewal rules |
| Name wrapper | Wraps names as ERC-1155 tokens | Fuses that lock permissions |
| Reverse registrar | Maps an address back to a name | Primary name for display |
Most wallets also perform reverse resolution, which asks which name an address claims as its primary name. A careful client then performs a forward check to confirm that the claimed name really points back to the same address, because anyone can set an arbitrary reverse record.
Name types, ownership and renewal
ENS supports several categories of names that differ in how they are acquired and who controls them. Second-level .eth names are rented from the ETH registrar controller for annual fees paid in Ether, while imported DNS names are proven through DNSSEC and subdomains are issued by whoever controls the parent name.
| Name type | How it is obtained | Control and expiry |
|---|---|---|
| .eth second-level name | Registered via commit-reveal | Annual rent; expires after grace period |
| Imported DNS name | Proved with DNSSEC records | Follows ownership of the DNS domain |
| Subdomain | Created by the parent owner | Parent can revoke unless fuses are burned |
| Off-chain subname | Served via CCIP-Read gateway | Depends on the gateway operator |
Registration of a .eth name uses a commit-reveal scheme to prevent front-running: the buyer first submits a hashed commitment, waits at least about one minute, and then reveals the name. Pricing depends on length, with three- and four-character names priced considerably higher than names of five or more characters, and an expired name passes through a 90-day grace period followed by a temporary premium auction.
ENS distinguishes the registrant, who owns the NFT representing the name, from the controller or manager, who may edit records. In custody planning this matters: a team can keep the registrant role in a cold wallet or multisig wallet while an operational hot wallet manages day-to-day records.
ENS compared with related identifiers
ENS names are pointers, not wallets: they hold no funds and replace no keys. The comparison below shows how an ENS name relates to identifiers that users of wallets frequently confuse with it.
| Identifier | What it represents | Can it be changed by its owner |
|---|---|---|
| ENS name | Readable label resolving to records | Yes, records are editable |
| Wallet address | Hash of a public key or contract | No, fixed by the key or code |
| Seed phrase | Secret that derives private keys | Only by migrating to a new wallet |
| DNS domain | Readable label for internet hosts | Yes, through a registrar account |
Because ENS records are editable, a name is a mutable reference. A payer who resolved alice.eth last month cannot assume it still points to the same wallet today, which is why well-designed wallets resolve at the moment of sending and display the resulting address.
Multichain addresses and off-chain resolution
A single ENS name can store addresses for many blockchains through coin-type records defined in ENSIP-9 and ENSIP-11, which follow the SLIP-44 numbering for non-EVM chains and a derived scheme for EVM networks. A user can therefore publish a Bitcoin, Solana and layer-2 address under one name, provided the sending wallet reads the correct coin type.
CCIP-Read, specified in EIP-3668, lets a resolver instruct the client to fetch data from an off-chain gateway and verify it against on-chain proofs or signatures. This mechanism powers cheap subnames issued by applications and layer-2 networks, but it introduces gateway availability and trust assumptions that ordinary on-chain records do not have.
Security risks and custody practices
ENS reduces address-copy errors but creates new attack surfaces. The most serious are homoglyph names that look identical to a legitimate one, expired names re-registered by attackers, and compromised manager keys that silently redirect payments.
| Risk | How it arises | Mitigation |
|---|---|---|
| Lookalike names | Unicode characters mimic Latin letters | ENSIP-15 normalization and visual warnings |
| Expiry takeover | Owner forgets to renew | Multi-year renewal and calendar alerts |
| Record hijack | Manager key is stolen | Registrant in cold storage or multisig |
| Stale cached address | Payer saves an old resolution | Resolve at send time and confirm |
| Gateway failure | Off-chain resolver is offline | Use on-chain records for critical payments |
Recommended practice is to renew names for several years, store the registrant role with stronger custody than the manager role, set a reverse record so the name displays correctly, and, for large transfers, verify the resolved address through a second channel. ENS normalization under ENSIP-15 rejects many confusable characters, but no normalization scheme removes every visual trick.
Stripped to the essentials
A crypto wallet address is a long string of letters and numbers that nobody can remember. ENS lets people attach a short, memorable name to that string, much like a phone contact name stands in for a number. When someone types alice.eth, the wallet looks up the real address and sends the money there.
The name belongs to its owner in the same way a token does, and the owner can change where it points. That flexibility is useful, but it also means the name must be renewed and protected like any other valuable asset.
Where it is applied
A small open-source foundation receives donations from contributors around the world. Instead of publishing a raw address, it registers a .eth name for five years, keeps the registrant role in a three-of-five multisig wallet held by board members, and assigns a single treasurer address as the manager that edits records.
The foundation stores its Ethereum address, a layer-2 address and a Bitcoin address under the same name, and sets the reverse record so donor wallets display the name. When the treasurer key is rotated, the multisig signs one transaction to replace the manager, and donors keep using the same name without noticing the change. The result is fewer mistyped transfers and a single, auditable payment identity.