Sooner or later, after a coding agent deploys a site for me, some other service asks the same question: prove this domain is yours. A certificate authority wants it. A social profile wants it before it shows a checkmark. A listing site wants it before it trusts a link back. Each time, the actual proof is something the agent could put in place in a minute, if it knew which kind of proof was being asked for.
I've stopped treating these as one-off chores. They come in three shapes, and the specs behind them are clear about what the checker actually fetches. Below is what I read today in each one, and how much of each I now hand to the agent.
Shape 1: a file at a well-known path
RFC 8615 defines the /.well-known/ prefix. A well-known URI is one "whose path component begins with the characters "/.well-known/"," and the RFC's stated reason for a shared prefix is that applications needing site-wide metadata can register their use "to avoid collisions and minimise impingement upon origins' URI space." The IANA well-known URI registry is where those names are listed; acme-challenge is one of them.
That entry comes from ACME, the protocol behind automated certificates. In RFC 8555, the HTTP challenge proves control "by proving that it can provision HTTP resources on a server accessible under that domain name." The file goes at /.well-known/acme-challenge/ plus a token, the check is a GET that "MUST be sent to TCP port 80," and the server "SHOULD follow redirects." Let's Encrypt's challenge-types page adds the operational detail: it may fetch the file "potentially multiple times from multiple vantage points," follows up to 10 redirects, and lists as a downside that "If you have multiple web servers, you have to make sure the file is available on all of them."
The AT Protocol uses the same shape for handles. Its handle spec describes /.well-known/atproto-did, where a valid response has a 2xx status, Content-Type set to text/plain, and the DID as the body "with no prefix or wrapper formatting."
What the agent can do: almost all of it. If the agent already deploys the site, adding a static file is one more file in the same commit. The parts it tends to miss are the ones the specs spell out: the exact path, the exact content type, and the plain-HTTP requirement for ACME. So I ask it to fetch the URL itself after deploying, with the same method the checker will use, before it tells the other service to look.
Shape 2: a TXT record in DNS
The DNS version of the ACME challenge puts a value in a TXT record at _acme-challenge.<domain>. Let's Encrypt says it "is harder to configure than HTTP-01, but can work in scenarios that HTTP-01 can't," including wildcard certificates. Two lines from that page changed how I set this up for agents. First: "it only makes sense to use DNS-01 challenges if your DNS provider has an API you can use to automate updates." Second, putting full DNS API credentials on a web server "significantly increases the impact if that web server is hacked," and the page recommends narrowly scoped credentials instead. It also warns that DNS providers have a "propagation time" that is hard to measure.
The AT Protocol's DNS method is a TXT record on _atproto.<handle> whose value starts with did=. The spec calls it "the recommended and preferred resolution method for individual handle configuration," says the HTTPS method is meant for large services that can't automate millions of TXT records, and says that if the two methods disagree, "the DNS TXT result should be preferred."
What the agent can do: only what its credentials allow. Without a DNS token, the useful thing it can do is write the exact record (name, type, value) for me to paste in, and then query DNS until the record shows up. With a token, I only give it one scoped to the zone, never the account-wide key. DNS is the one shape where I'd rather be a little slower than hand over more access.
Shape 3: a link in the page itself
The third shape doesn't need special paths or records. The checker fetches a normal page and looks for a link. Mastodon's profile docs are the clearest example I know. If you put an HTTPS link in your profile, "Mastodon checks if that link resolves to a web page that links back to your Mastodon profile with a special rel=me attribute." The validation criteria are specific: the profile link "MUST start with HTTPS," "The HTTP response must not exceed 1 MB," "The link must appear directly in the HTML response and be accessible without executing JavaScript," and it can't be inside an iframe. The docs also say verification runs when you save your profile, so you need to add the link to the page first.
A small listing site I work on uses the same shape for checking a link back from a listed product. Its docs say it fetches only the listed URL, with an 8-second timeout, a 2 MB cap, text/html only, at most 3 redirects, and public hosts only, and that "The link must be in the server-rendered HTML (links injected only by client-side JavaScript are not seen)." The rel value doesn't matter there.
What the agent can do: add the link and check it the way the verifier will. The trap here is subtle. An agent that checks its work in a headless browser sees the page after JavaScript has run, so a link rendered on the client side looks fine to it. A verifier that reads raw HTML doesn't see that link. I now ask the agent to check with a plain HTTP fetch, no JavaScript, and to look at the size of the response, because both checkers above cap it.
The pattern I'm keeping
Each shape asks a different question. A well-known file asks whether you control what the web server returns at a path. A TXT record asks whether you control the zone. A link asks whether you control a page's content. Agents that deploy code usually have the first and third already, and should only get the second through a narrow token.
The common rule is to have the agent check its own work exactly the way the verifier will, with the same protocol, path, method and limits, before it asks the verifier to look. The specs already state those terms. The agent just has to follow them more literally than a person would.
I drafted this with help from an AI assistant and checked every quote against the linked pages on November 30, 2026.
