# DNS for AI Discovery (DNS-AID)

> Source: <https://specification.website/spec/agent-readiness/dns-aid/>
> Published: 2026-11-29 08:00:00+00:00

**Key takeaway:** Publish `_index._agents`, `_mcp._agents` and `_a2a._agents` as ServiceMode HTTPS records (priority ≥ 1) with `alpn="h3,h2"` and `port=443`, list only `alpn,port` in `mandatory` because IANA has not assigned code points to the draft's `proto` and `well-known` keys, and sign the zone with DNSSEC or va

# DNS for AI Discovery (DNS-AID)

Publish SVCB/HTTPS records under _agents.example.com so agents can discover your services from DNS, before any HTTP round-trip. Pair with DNSSEC so the answer is authenticated.

## What it is

DNS for AI Discovery (DNS-AID) is a draft IETF proposal that uses the existing [SVCB and HTTPS resource records](https://specification.website/spec/security/dnssec/) (RFC 9460) under a reserved `_agents` label to advertise where agents can reach your services. Instead of crawling a homepage to find a `Link` header or a `.well-known/` document, a client makes a single DNS query and gets a typed answer.

It is an individual Internet-Draft, not an adopted standard. The IETF chartered the Discovery of Agents With Names (DAWN) working group on 22 October 2026, and the draft was resubmitted for it on 2 November 2026 as `draft-mozleywilliams-dawn-dnsaid-00`, replacing `draft-mozleywilliams-dnsop-dnsaid`. The working group has not adopted it, and the record layout is still moving.

**The draft and the validators do not describe the same records.** The draft publishes each agent as an SVCB record at the agent’s own name (`agent-name.example.com`), and reserves one underscored name, `_index._agents.<domain>`, as an SVCB pointer to the organisation’s index of agents. The protocol an agent speaks goes in a proposed `proto` parameter, not in the owner name. The `_<service>._agents.<domain>` names below, published as HTTPS records, are the convention that agent-readiness tooling checks for. Of the three, only `_index._agents` appears in the draft, and there it is an SVCB record; the draft allows other names under `_agents`, but only as AliasMode pointers to the agent’s own record.

| Name | Purpose | 
|---|---|
| `_index._agents.example.com` | General entry point. Points at the canonical site. | 
| `_mcp._agents.example.com` | An [MCP](https://specification.website/spec/agent-readiness/mcp-and-tool-discovery/) server. | 
| `_a2a._agents.example.com` | An A2A (agent-to-agent) endpoint. | 

For that tooling convention, each record is in ServiceMode (priority ≥ 1), carrying `alpn` and `port` parameters at minimum:

```
_index._agents.example.com.  3600 IN HTTPS 1 example.com.            alpn="h3,h2" port=443
_mcp._agents.example.com.    3600 IN HTTPS 1 mcp.example.com.        alpn="h3,h2" port=443 mandatory="alpn,port"
```

## Why it matters

- **Discovery before the first HTTP request.** A DNS lookup is on the critical path for almost every connection anyway; piggybacking discovery on it is free.
- **Works for non-HTTP services too.** Any service with an ALPN identifier can be advertised this way.
- **Authenticated.** Combined with[DNSSEC](https://specification.website/spec/security/dnssec/) , a validating resolver returns proof-of-authenticity. Without DNSSEC the record is just a hint.
- **Required by some agent-readiness validators.**[isitagentready.com](https://isitagentready.com/) explicitly checks for these records and for DNSSEC validation on the answer.

## How to implement

**Pick the services to advertise.** At minimum: `_index._agents`. If you run a public MCP server, also `_mcp._agents`. Add `_a2a._agents` when you support agent-to-agent endpoints. Don’t advertise endpoints you don’t actually offer.

**Use HTTPS records for HTTPS-based services and SVCB for everything else.** Both serialise the same way; HTTPS is the convenience alias for the common case.

**Required parameters:** `alpn` (the protocol the client will speak — typically `h3,h2` for browser-style HTTPS) and `port` (almost always `443`). Listing them in `mandatory="alpn,port"` tells clients to skip the record if they do not understand those parameters. Do not list the draft’s new keys (`proto`, `well-known` and the rest) in `mandatory`: IANA has not assigned them code points, and the draft itself warns that this will not work reliably across implementations yet.

**Sign the zone.** Without [DNSSEC](https://specification.website/spec/security/dnssec/), the discovery answer is unauthenticated and validators will downgrade or fail. Enable DNSSEC at your authoritative DNS, then ensure your registrar publishes the corresponding DS record.

**Advertise on the canonical domain, not the platform’s vendor subdomain.** Records on `your-site.netlify.app` or `your-project.pages.dev` don’t help agents that already know your real domain.

**Implementation, on Cloudflare specifically:** create the records as `HTTPS` type with name `_index._agents` (Cloudflare auto-appends the zone), priority `1`, target the canonical hostname, parameters as above. Enable DNSSEC under DNS settings. See `scripts/publish-dns-aid.sh` in this repo for the API call.

## Common mistakes

- Publishing in AliasMode (priority `0` ) when you meant ServiceMode. Validators expect ServiceMode for the discovery use case.
- Treating the validator convention as the standard. A pass on a scanner shows that you match that scanner, not that a DNS-AID client following the draft will find your agents. Expect to republish when the working group settles the layout.
- Missing `port` . Most parsers tolerate the omission and assume 443; some don’t.
- Inventing custom params with unallocated names. Until the IETF assigns them, use the numeric `keyNNNNN` form rather than guessing a string identifier.
- Forgetting the trailing dot on the target hostname in zone-file syntax. Without it, the target is treated as relative.
- Enabling DNSSEC on the Cloudflare side but not pasting the DS record at an external registrar. The signature exists but the chain of trust breaks at the parent.
- Pointing `_index._agents` at a`pages.dev` /`netlify.app` /`vercel.app` host. Use your real domain.

## Verification

- `dig +short HTTPS _index._agents.example.com` returns a record beginning with`1 example.com.` .
- `dig +dnssec +cd HTTPS _index._agents.example.com` returns an`RRSIG` line — confirming DNSSEC is signing the answer.
- `dig +short DS example.com` returns at least one DS record at the registrar — confirming the chain of trust.
- [Is It Agent Ready?](https://isitagentready.com/) flips`discoverability.dnsAid` to`pass` .
- [Cloudflare DNSSEC Debugger](https://dnssec-debugger.verisignlabs.com/) or`dnssec-analyzer` shows a clean validation chain.
