Summary

  • RFC 9103 wraps AXFR and IXFR in TLS so a passive observer on the path can no longer read the records for free. It does not hide that the nameservers talk, does not erase size and timing signals, does not stop DNSSEC walking, and does not make ordinary authoritative answers private.
  • A defensible XoT claim is a chain of receipts: authenticated primary, zone-specific request authorization, TLS-only transport, accepted replica, XoT-only transfer group, and separate evidence for what the recipient does with the copy.

One handshake, five different questions

A secondary nameserver walks up to a primary and asks for a zone. AXFR if it wants the whole thing, IXFR if it only wants the changes. If the answer crosses the wire in cleartext, the observer on that path does not need to crack the access-control list or steal a TSIG key. It just reads.

RFC 9103 shuts that window by specifying XFR over TLS — XoT. Standards Track, August 2021, covering both AXFR-over-TLS and IXFR-over-TLS. The win is real: a single transfer can spill an entire operational namespace in one flow — hostnames, service names, addresses, the relationships between them — everything an attacker would otherwise have to reassemble query by query, like rebuilding a phone book from cold calls.

But “the zone is secure” is a sentence doing five jobs at once. Who was at the far end of the TLS connection? Was this client authorized for this zone and this request? Did every transfer message stay inside the authenticated channel? What happened to the replica after the secondary swallowed it? And which parts of the same namespace are still discoverable through ordinary public DNS?

RFC 9103 answers the first three. It deliberately leaves the last two to the operator. That is not a hole in the spec. It is the discipline that makes the result auditable.

TLS closes the window; it does not lock the house

The RFC’s threat model treats the current contents and size of a zone as sensitive during transfer. It does not pretend to hide that the zone exists, that a transfer is happening, or who the nameservers are. Endpoints and traffic patterns stay visible. Even with padding, the size and timing of encrypted IXFR traffic can still whisper about update activity.

What TLS changes is payload visibility. Anyone tapping the route between primary and secondary no longer gets the resource records in readable form just because the transfer rode ordinary TCP. That is the property XoT creates — a sealed pipe, not a vault.

TSIG does a different job, and it is worth saying so plainly. RFC 8945 lets parties sharing a secret authenticate DNS messages and protect their integrity; RFC 5936 describes TSIG as a way to authorize transfer clients. But a message authentication code is not encryption. A perfectly valid TSIG stapled to a cleartext transfer proves where the message came from while leaving its contents on display for anyone with a tap.

Nor is an encrypted connection automatically an authorized one. RFC 9103 requires the secondary to authenticate the primary under a strict TLS profile, and the primary to separately validate that the client may request or proxy the transfer — mutual TLS, or an IP-based access-control list paired with a valid TSIG or SIG(0). In common implementations that admission decision is made per request. A TLS session accepted at the listening socket is not a licence to copy every zone the server can reach.

One legacy peer undoes the whole claim

Opportunistic TLS sounds close to the goal and is not. RFC 9103 rejects it as the XoT protection profile because opportunistic modes may proceed without authenticated server identity, or quietly fall back to cleartext when TLS is unavailable. Fine elsewhere; useless for the sentence “this transfer was protected from an active attacker.”

The same rot spreads at group scale. RFC 9103 calls the full set of primaries and secondaries for a zone the transfer group. Confidentiality for the group demands that every AXFR and IXFR path use XoT consistently. One legacy secondary, one migration exception, one proxy-to-backend hop that drops back to cleartext — and the observation path the operator thought it had bricked up is open again.

Which makes the unit of proof bigger than a packet capture from one happy connection. A receipt has to name the transfer group, the allowed authentication pattern, the fallback rule. It has to record whether a TLS proxy terminates the protected channel before the primary. It has to say whether connection reuse changes the per-zone authorization check. “Port 853 answered” proves none of it.

Some checks are easy. Try a transfer without TSIG, from an unauthorized address, over cleartext, and confirm the door holds. Others are harder: whether every secondary rejects unsigned data, whether all peers run strict rather than opportunistic TLS, whether a third-party secondary carries the same policy into its own onward transfers. RFC 9103 explicitly leaves coordination and enforcement of those policies outside its scope — the spec fixes the minimum, and running code, not the document, has to carry it the rest of the way.

The copy walks out in someone else’s pocket

Suppose every wire control works. The secondary authenticates the primary; the primary authorizes the secondary; TLS 1.3 guards the payload; an IXFR completes; the secondary accepts the new serial. The cleartext observer is gone.

Now the zone lives in another administrative domain.

The secondary may keep a journal, a full zone file, a database snapshot, backups. Operators and support systems have local access. The replica may be forwarded to further secondaries. The authoritative service will, by design, answer ordinary queries for published records. None of this is a TLS failure. It is the custody and publication bill that arrives after successful replication.

Which is why the recipient’s identity cannot be the last receipt. A complete operating record needs the secondary’s retention boundary, access policy, backup treatment, logging surface, onward-transfer list, deletion and rotation process. If a provider runs several layers of secondary infrastructure, the transfer map has to follow the content, not stop at the first certificate.

ZONEMD marks another boundary. RFC 8976 defines a digest for a standalone zone; RFC 9103 calls it complementary and orthogonal to channel protection. A digest can help a consumer authenticate a whole-zone object. It does not hide that object in transit. And a confidential TLS channel does not prove the records are correct, current, or blessed by the right human principal.

Public DNS stays stubbornly public

RFC 9103 also refuses to fold transfer confidentiality into zone-enumeration protection. NSEC denial records let a signed zone be walked. NSEC3 was built to make that walk harder by hashing owner names, but it is not a claim that XoT has hidden every name. The RFC is blunt: enumeration and transfer eavesdropping are orthogonal paths aimed at some of the same information.

Ordinary authoritative queries are a third path. A record meant to answer a public query stays available through that service. Anyone can collect those answers over time, follow naming conventions, or fuse them with other public data. XoT makes bulk collection from the replication stream harder; it does not rewrite DNS’s publication contract.

This is the place for restraint. Do not claim all public zone data is secret. Say which collection path you closed, which remain open, and which names or addresses should never have been in the zone in the first place.

The eight-line receipt

The operational result fits in eight rows.

Scope — zone, policy version, transfer group, accountable operators. Primary identity — authentication domain name or SPKI pin, certificate result, TLS version, endpoint reached. Secondary admission — mutual-TLS identity or IP ACL plus TSIG/SIG(0), the zone-specific authorization decision, negative-test results.

Transport — AXoT or IXoT, cleartext prohibition and fallback, every proxy boundary exposed. Completion — requested and accepted serials, IXFR-to-AXFR fallback, actual terminal state. Replica custody — storage, local access, backup, logging, onward-transfer controls.

Residual exposure — ordinary-query publication, NSEC or NSEC3 posture, visible endpoint relationships, remaining timing and size signals. Revalidation — the changes that expire the receipt: new certificate, key, ACL, proxy, secondary, topology, signing policy, operator.

No row gets to turn the others green. A TLS handshake is evidence of a channel. A valid TSIG is evidence about a message. A completed transfer is evidence of delivery. An accepted serial is evidence of replica state. None of them, alone, is evidence of accurate zone content, authorized onward use, or complete confidentiality.

Sources