[Executable] Upgrade DNSSEC oracle and registrar for the 2026 root KSK rollover
Result details
No votes yet
Votes will appear here
No votes yet
Votes will appear here
Current Votes
Quorum
145.84K of 1M
Majority support
Yes
For
145.84K
Against
0
Abstain
0
Actions
Type
Address
Details
Custom
Contract call
Function and parameters could not be decoded. View call data in Raw.
Proposal
Proposal
[Executable] Upgrade DNSSEC oracle and registrar for the 2026 root KSK rollover
| Status | Draft |
|---|---|
| Discussion Thread | Forum |
| Votes | TBD |
Abstract
The DNS root zone rolled its key-signing key on 11 October 2026. ENS's DNSSEC oracle was deployed with a fixed set of root trust anchors that doesn't include the new key, so it can no longer verify DNSSEC proofs. That breaks both ways DNS names are used in ENS: importing a name onchain, and gasless DNSSEC resolution.
This proposal switches ENS over to a new DNSSEC oracle, DNS registrar and offchain DNS resolver. The new oracle trusts the new root key, and its anchors can be updated by the DAO in future instead of requiring a redeployment. The new contracts also fix several lower-severity vulnerabilities in the DNSSEC code, described below. The proposal also authorises a small registrar on ENSv2 that points each DNS TLD at a resolver using the new oracle, and removes two obsolete controllers from the ENS root: the 2021 DNS registrar and TLDToken.
Existing DNS names in ENS are unaffected, and no user action is needed.
Motivation
The root key rollover
DNSSEC proofs in ENS start from the root zone. The oracle holds a set of root DS records ('trust anchors'), and every proof begins with the root DNSKEY RRset, which has to be signed by a key matching one of those anchors.
On 11 October 2026 at 14:00 UTC the root zone began signing its DNSKEY RRset with KSK-2024 (key tag 38696) alone. The current oracle, 0x0fc3152971714E5ed7723FAFa650F86A4BaF30C5, was deployed in January 2024 with anchors for KSK-2010 (19036) and KSK-2017 (20326), and has no function to change them. The last root signature made with KSK-2017 expired on 22 October, so there is no longer any valid proof the current oracle will accept.
DNSRegistrar and OffchainDNSResolver both take the oracle's address as an immutable constructor argument, so they have to be replaced along with it.
Security fixes
The new contracts fix the following issues. As far as we can tell, none of the first three can be exploited without a compromised DNSSEC key or an unusual DNS configuration.
- Stale ancestor records could be replayed. The current registrar records only the RRSIG inception time of the final
_ens.<name>TXT RRset in a claim. Nothing stopped a proof from reusing older RRsets further up the chain (a DS or DNSKEY set from before a key change, say) for as long as their signatures remained valid. The new registrar stores, for every(name, type)in a proof, the latest inception seen and a 28-byte hash of the record data. An RRset that isn't newer than the stored one is accepted only if its data is identical; otherwise the claim reverts withStaleProof. For names imported under the current registrar, the TXT inception falls back to the value it recorded. - Revoked keys were accepted. RFC 5011 section 2.4.3 requires that a DNSKEY with the REVOKE bit set be treated as invalid for everything except validating its own revocation. The current oracle ignores the flag. The new oracle rejects any signature made by a key with REVOKE set.
- The claim record's class and type weren't checked.
DNSClaimCheckerread the owner address from the final RRset without requiring it to be a TXT record of class IN. It now requires both. OffchainDNSResolvertrusted the resolver named in a DNS record too far. A name'sENS1TXT record names a resolver contract, whichOffchainDNSResolverthen calls. Interface detection now goes throughERC165Checker, and theaddr()lookup used to turn a name in the TXT record into a resolver address is guarded, so a revert from either call, including anOffchainLookup, is no longer passed on to the client.
Fixes 1 to 3 were made in ens-contracts#572, fix 4 in ens-contracts#580, and the record-hash comparison in fix 1 was added after Nethermind's review, in ens-contracts#583. Nethermind's summary report is in the discussion thread.
One finding from that review is acknowledged but not fixed: the first claim for a name after the migration can still use a superseded delegation whose signatures haven't expired yet. The new registrar starts with no stored inceptions for ancestor records, so it has nothing to compare them against until a first proof has been submitted.
Obsolete Root controllers
Blockful's review of this proposal found two contracts that are still controllers of the ENS root and shouldn't be. A Root controller can set the owner of any TLD that hasn't been locked, so each of these is removed.
- The 2021 DNSRegistrar,
0x58774Bb8acD458A640aF0B88238369A167546ef2. Its oracle trusts only the retired root keys, so it can no longer import names, but anyone can still call it with an empty proof and make it take ownership of an unowned TLD. It stays in the new registrar's list of previous registrars, soenableNodecan still move any TLD it owns. - TLDToken,
0xF5823a1BB20d01F1b9d17d27882C5EAcA7C510bd. This is an ERC-721 contract whoseclaimfunction lets the holder of a TLD's token set that TLD's owner in ENS. Its owner, the legacy multisig0xCF60916b6CB4753f58533808fA610FcbD4098Ec0, can mint a token for any label, which lets it take any TLD other than.eth. EP 6.7 removed the multisig's own controller role but left this route open. Once TLDToken is no longer a controller,claimreverts for every token, existing ones included. TLDs that have already been claimed keep their current owner.
Other changes
DNSSECImpladds an owner-onlysetAnchors(bytes), which emitsAnchorsUpdated. The DAO can handle the next root key rollover with a single call.DNSSECImpladdsverifyRRSetAtandverifyRRSetNow, which return every signed set in the chain. The existingverifyRRSetfunctions keep their ABI. An empty proof now reverts withInvalidRRSet.DNSRegistraraddsgetInception(name, type)and emitsInceptionUpdatedwhenever a stored inception changes.inceptions(node)is kept for compatibility.
Specification
Deployed contracts
All of these are verified on Etherscan.
| Contract | Address | Constructor arguments |
|---|---|---|
DNSSECImpl | 0x668ad4467129d49ECbe6274d95197797C0E262AA | anchors: root DS records for KSK-2017 (20326) and KSK-2024 (38696) |
OffchainDNSResolver | 0xA4A2d86B30896fe5c4f2A7F2Ee0BDE3dbff26924 | registry 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e, oracle 0x668ad4467129d49ECbe6274d95197797C0E262AA, gateway https://dnssec-oracle.ens.domains/ |
DNSRegistrar | 0x084462610A20eFbDB686b30fe587ecA0E234D2EF | previous registrars [0xB32cB5677a7C971689228EC835800432B339bA2B, 0x58774Bb8acD458A640aF0B88238369A167546ef2], resolver 0xA4A2d86B30896fe5c4f2A7F2Ee0BDE3dbff26924, oracle 0x668ad4467129d49ECbe6274d95197797C0E262AA, suffixes 0x823BDa9cA8c47d072376eCD595530c8fb2fAa3ED, registry 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e |
TemporaryDNSRegistrar (ENSv2) | 0x9d6D535f08be25A9A2FdA1a1C21217D27d81cC61 | owner 0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7, root registry 0x2553c09bE6447BeFfdB86FA622ad41fB8f77A91e, token owner 0x5B716D6587d241166bC8914858640F8684F3A2F3, suffixes 0x823BDa9cA8c47d072376eCD595530c8fb2fAa3ED, default resolver 0x6695327EE70F41151d2cBADC3ABBb6e4a58e739c |
Notes:
DNSSECImplwas deployed on 20 October and its ownership has already been transferred to the DAO timelock,0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7. Its algorithms are RSASHA1 (5 and 7) at0x58E0383E21f25DaB957F6664240445A514E9f5e8, RSASHA256 (8) at0xaee0E2c4d5AB2fc164C8b0Cc8D3118C1c752C95Eand P256SHA256 (13) at0xB091C4F6FAc16eDDA5Ee1E0f4738f80011905878; its digests are SHA1 (1) at0x9c9fcEa62bD0A723b62A2F1e98dE0Ee3df813619and SHA256 (2) at0xCFe6edBD47a032585834A6921D1d05CB70FcC36d.DNSRegistrarandOffchainDNSResolverwere deployed on 13 November from the post-audit code, in ens-contracts#585 (b6234f4). Of the previous registrars,0xB32cB567…is the current one and0x58774Bb8…is the 2021 one.TemporaryDNSRegistraris from contracts-v2#486. Its default resolver is ENSv2'sDNSTLDResolver, which was deployed on 28 October against the new oracle.
The ENSv2 registrar
ENSv2 reserved the DNS TLDs in its root registry at launch. TemporaryDNSRegistrar exposes one permissionless operation, syncTLD(label) (and syncTLDs for batches). For a label on the public suffix list, it either registers the TLD to the DAO's token safe with DNSTLDResolver as its resolver, or, if the TLD is already registered, updates its resolver to the current default. It reverts with TLDNotPublic for anything else. The token owner and suffix list are immutable; only the DAO can change the default resolver.
It needs two things from the DAO. The first is the REGISTRAR and REGISTER_RESERVED roles on the root registry (bitmap 0x11), so that it can register reserved TLDs. The second is operator approval from the DAO token safe, so that it can update the resolver of TLDs the safe already holds. The approval is setApprovalForAll, so it covers every root registry token the safe holds, eth and reverse included; the registrar's code only ever uses it inside syncTLD, for labels on the public suffix list. The safe's only owner is the timelock, so the timelock calls execTransaction directly with a pre-validated signature.
REGISTER_RESERVED can be revoked in a later proposal once the existing TLDs have been moved across. REGISTRAR stays until ENSv2 has a native DNSSEC registrar.
This registrar only manages TLDs. It will be replaced when DNS imports are enabled on ENSv2.
Transactions
| # | Target | Function | Description |
|---|---|---|---|
| 1 | Root 0xaB528d626EC275E3faD363fF1393A41F581c5897 | setController(0xB32cB5677a7C971689228EC835800432B339bA2B, false) | Deauthorise the current DNSRegistrar |
| 2 | Root 0xaB528d626EC275E3faD363fF1393A41F581c5897 | setController(0x084462610A20eFbDB686b30fe587ecA0E234D2EF, true) | Authorise the new DNSRegistrar |
| 3 | RootRegistry 0x2553c09bE6447BeFfdB86FA622ad41fB8f77A91e | grantRootRoles(0x11, 0x9d6D535f08be25A9A2FdA1a1C21217D27d81cC61) | Grant TemporaryDNSRegistrar REGISTRAR and REGISTER_RESERVED on the ENSv2 root registry |
| 4 | DAOTokenSafe 0x5B716D6587d241166bC8914858640F8684F3A2F3 | execTransaction(...) calling setApprovalForAll(0x9d6D535f08be25A9A2FdA1a1C21217D27d81cC61, true) on RootRegistry | Approve TemporaryDNSRegistrar as operator for root registry tokens held by the safe |
| 5 | Root 0xaB528d626EC275E3faD363fF1393A41F581c5897 | setController(0x58774Bb8acD458A640aF0B88238369A167546ef2, false) | Deauthorise the 2021 DNSRegistrar |
| 6 | Root 0xaB528d626EC275E3faD363fF1393A41F581c5897 | setController(0xF5823a1BB20d01F1b9d17d27882C5EAcA7C510bd, false) | Deauthorise TLDToken |
Calldata
1. 0xe0dba60f000000000000000000000000b32cb5677a7c971689228ec835800432b339ba2b0000000000000000000000000000000000000000000000000000000000000000
2. 0xe0dba60f000000000000000000000000084462610a20efbdb686b30fe587eca0e234d2ef0000000000000000000000000000000000000000000000000000000000000001
3. 0x072d5d7700000000000000000000000000000000000000000000000000000000000000110000000000000000000000009d6d535f08be25a9a2fda1a1c21217d27d81cc61
4. 0x6a7612020000000000000000000000002553c09be6447beffdb86fa622ad41fb8f77a91e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000044a22cb4650000000000000000000000009d6d535f08be25a9a2fda1a1c21217d27d81cc610000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041000000000000000000000000Fe89cc7aBB2C4183683ab71653C4cdc9B02D44b700000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000
5. 0xe0dba60f00000000000000000000000058774bb8acd458a640af0b88238369a167546ef20000000000000000000000000000000000000000000000000000000000000000
6. 0xe0dba60f000000000000000000000000f5823a1bb20d01f1b9d17d27882c5eaca7c510bd0000000000000000000000000000000000000000000000000000000000000000
After execution
Two permissionless follow-up steps move the TLDs across. ENS Labs will run both for every TLD on the public suffix list as soon as the proposal executes.
- On ENSv1, calling
enableNode(tld)on the newDNSRegistrartakes over a TLD owned by any previous registrar and sets its resolver to the newOffchainDNSResolver. Until a TLD has been moved, imports and gasless resolution under it continue to fail. - On ENSv2, calling
syncTLDs(labels)onTemporaryDNSRegistrarregisters each TLD to the DAO token safe withDNSTLDResolveras its resolver.
Names that have already been imported onchain keep their owner, resolver and records throughout.
.hiphop is the one TLD these steps can't move. It is owned by an external account and not by a registrar, so enableNode reverts for it, and it stays on the old OffchainDNSResolver (0xF142B308cF687d4358410a4cB885513b30A42025) until its owner changes the resolver.
The current registrar, oracle and offchain resolver are left in place but unused.
Verifying this proposal
- The root zone is signed by KSK-2024 alone:
dig @a.root-servers.net . DNSKEY +dnssec +multishows one RRSIG over the DNSKEY RRset, with key tag 38696. - The KSK-2024 DS record in the new oracle's
anchors()matches IANA's published trust anchors at https://data.iana.org/root-anchors/root-anchors.xml (digest683D2D0ACB8C9B712A1948B27F741219298D0A450D612C483AF444A4C0FB2B16). DNSSECImpl.owner()returns the timelock, andalgorithms()anddigests()return the addresses listed above.DNSRegistrar.oracle()andDNSRegistrar.resolver()return the new oracle and resolver, andwasRegistrar(0xB32cB5677a7C971689228EC835800432B339bA2B)returns true.OffchainDNSResolver.oracle()returns the new oracle.- Before execution,
Root.controllers()returns true for0xB32cB5677a7C971689228EC835800432B339bA2B,0x58774Bb8acD458A640aF0B88238369A167546ef2and0xF5823a1BB20d01F1b9d17d27882C5EAcA7C510bd, and false for0x084462610A20eFbDB686b30fe587ecA0E234D2EF. After execution each of the four is reversed. The Root emits no event when a controller changes, so this has to be read from state. TLDToken.owner()returns0xCF60916b6CB4753f58533808fA610FcbD4098Ec0.TemporaryDNSRegistrar.owner()returns the timelock,TOKEN_OWNER()returns the DAO token safe, anddefaultResolver()returns0x6695327EE70F41151d2cBADC3ABBb6e4a58e739c, whoseDNSSEC_ORACLE()is the new oracle.- The fork tests in contracts-v2#504 (
test/fork/DNSRegistrarV1.test.tsandtest/fork/TemporaryDNSRegistrar.test.ts) execute the first four calls as the timelock against mainnet state, then callenableNodeandsyncTLDand resolve known DNS names through the result. - Blockful's fork tests of the whole proposal are at blockful/dao-proposals.
Current Votes
Quorum
145.84K of 1M
Majority support
Yes
For
145.84K
Against
0
Abstain
0
Current Votes
No votes yet
Votes will appear here
No votes yet
Votes will appear here
Some simulations are not available
Status
Mon Nov 30, 01:15 pm
Voting period started
Sun Dec 6, 09:58 pm
End voting period
Queue proposal
Execute proposal