Somewhere in your zone file there may be a single line that decides who is allowed to speak for your domain. It is called a CAA record, it is specified by RFC 8659, and it is the strangest instrument the DNS has ever carried: a veto with no bailiff. The protocol will deliver it to any resolver on the planet in milliseconds. The protocol will not enforce one word of it. CAA works because the certificate industry — pushed by the CA/Browser Forum's Baseline Requirements and audited by browser root programmes — agreed to look it up before signing anything.

That is the whole story, and it is a story about legitimacy rather than syntax. Authority over a name in the DNS is not declared. It is consulted. A rule that binds only the parties who agree to be bound is not a weak rule; on the Internet it is the only kind that has ever held.

What RFC 8659 Actually Puts in the Zone

The CAA record type is 257, and the payload is almost insultingly small: a one-octet flags field, a tag, and a value. Three tags do the work. issue names the certification authorities permitted to issue ordinary certificates for the name. issuewild does the same for wildcards — and if you publish no issuewild at all, your issue list governs wildcards too. iodef gives a CA somewhere to send a mis-issuance complaint.

The syntax contains one genuinely elegant trick. Set the value of an issue tag to a lone semicolon and you have said something absolute: no CA is authorised, for anyone, ever. One character in a text file, and the entire certificate industry is supposed to stand down.

There is also a teeth-bearing bit in that flags octet. Bit 0 is the Issuer Critical flag. Set it on a tag a CA does not recognise, and that CA must not issue. It is the closest thing to a hard stop in the document — a way for a domain holder to say: if you do not understand this instruction, do not guess.

RFC 8659, published in November 2019, replaced RFC 6844, whose processing rules had accumulated enough ambiguity to need a rewrite. The mechanism survived intact. What changed was the precision.

The Lookup Climbs the Tree, So Policy Inherits Like a Family Curse

CAA is unusual in the DNS because the delegation runs backwards. Normally authority flows down: a parent delegates a child, and the child inherits nothing but the name. With CAA the holder writes a constraint and the constraint travels upward, to the issuer.

The lookup itself travels down. A CA checking www.example.com starts at that name and climbs toward the root, stopping at the first CAA RRset it finds. Publish a record at example.com and every subdomain beneath it inherits the policy unless it writes its own. Publish nothing anywhere and the CA is free to issue as it pleases.

That inheritance is quietly powerful and quietly dangerous. A forgotten CAA record on a parent zone becomes a standing instruction over hundreds of subdomains, most of which nobody remembers owning. The policy outlives the person who wrote it — which is exactly what a policy is for, and exactly what makes a stale one expensive.

A Treaty, Not a Law: Why CAA Binds Only the Willing

Read the abstract of RFC 8659 and notice what it does not claim. The record "allows a DNS domain name holder to specify one or more Certification Authorities (CAs) authorized to issue certificates for that domain name." Allows. Not requires, not enforces, not guarantees.

The enforcement lives somewhere else entirely. The CA/Browser Forum's Baseline Requirements oblige member CAs to check CAA before issuance and to keep re-checking it for a period afterwards. Browser root programmes audit for compliance, and a CA that fails an audit risks the one thing it cannot survive: removal from a root store. That is the entire apparatus — a private club's rulebook, a public audit trail, and the commercial terror of a browser distrust notice.

No packet is inspected. No resolver refuses anything. The DNS is a delivery van, and the certificate industry supplies the law.

This is the distinction Lu Heng draws in his Note on running-code primacy: publication is not adoption. A record in a zone file is a proposal until an implementation acts on it. CAA is that principle made visible in the WebPKI — a policy that lives in the DNS and takes effect in somebody else's code.

The Accountability Tag Is Optional, Which Tells You Everything

Of the three tags, iodef is the one about accountability, and it carries the softest wording in the document. It gives the holder an address for reports of mis-issuance. It does not oblige anyone to send one. A CA may report. A CA may also shrug.

That asymmetry is worth sitting with. The WebPKI built a mechanism that lets a domain holder name its issuers, then made the feedback channel advisory. The veto is mandatory for compliant CAs. The apology is not.

Where the Veto Leaks: DNSSEC, Deleted Records and Three Million Certificates

CAA has two structural leaks, and neither is a bug.

The first is DNS itself. A CAA record is only as trustworthy as the answer that carries it. Without DNSSEC, an on-path attacker can strip the record and the CA will see a clean, unconstrained name. The record states the policy; the signature is what makes the policy hard to forge.

The second is that whoever controls the zone controls the veto. Delete the CAA record and the constraint evaporates. CAA was never designed to stop an attacker who already owns your DNS. It was designed to stop a confused, overeager or compromised CA from issuing to somebody else. It is a tripwire against institutional error, not a wall against a determined adversary.

The tripwire is real, though, and the cost of tripping it is measured in certificates. In early 2020, Let's Encrypt found a bug in its CAA rechecking code and had to revoke roughly three million certificates on short notice — proof that the check is not decorative, that it happens more than once, and that getting it wrong produces a very public queue of renewals.

The record has grown teeth since publication. RFC 8657 added parameters that let a holder pin issuance to a specific ACME account and a specific validation method. A CAA record can now say not merely "this CA" but "this CA, on this account, using this challenge." The permission list acquired a serial number.

The Legitimacy Lesson: Authority Is Consulted, Not Declared

Step back and the CAA record is a small, clean experiment in institutional design. A domain holder owns no certificate authority, no browser and no root store. It has no seat at the CA/Browser Forum and no vote in anyone's audit. What it has is a text record and a convention.

And the convention holds — not because the protocol compels it, but because a few hundred organisations worked out that reading the record is cheaper than explaining why they did not. That is how most authority on the Internet actually operates. Not commanded from a centre, but conferred by the parties who agree to consult. The moment they stop consulting, the authority is gone, and nobody has to repeal a thing.

Which is why CAA deserves more attention than four lines of zone file suggest. It is a working demonstration of the gap between a rule that is published and a rule that is adopted — and of how much of the WebPKI's legitimacy rests on the second one.

The zone file states the policy. The industry decides whether the policy is real. That is not a flaw in RFC 8659. It is the most honest sentence the certificate business has ever written down.