Implement DNS for AI Discovery (DNS-AID)
Publish DNS for AI Discovery (DNS-AID) records so agents can discover your agent endpoints through DNS.
Requirements
- Publish DNS for AI Discovery (DNS-AID) records under your domain's
_agentsnamespace, such as_index._agents.example.comor_a2a._agents.example.com - Use ServiceMode
SVCBrecords, orHTTPSrecords for HTTPS endpoints, withalpnand endpoint connection parameters - Use numeric
keyNNNNNSvcParamKey names for experimental DNS for AI Discovery (DNS-AID) custom parameters until they are registered - Sign public DNS for AI Discovery (DNS-AID) discovery zones with DNSSEC so validating resolvers return authenticated data
Example
_a2a._agents.example.com. 3600 IN SVCB 1 agent.example.com. alpn="a2a" port=443 mandatory=alpn,port
Validate
The scanner validates DNS for AI Discovery (DNS-AID) via DNS-over-HTTPS. By default, the scanner uses Cloudflare's https://cloudflare-dns.com/dns-query with automatic fallback to https://dns.google/resolve on resolver-level failures. Library callers can override the resolver with ScanOptions.dohResolverUrl (disables fallback).
POST https://isitagentready.com/api/scan
Content-Type: application/json
{"url": "https://YOUR-SITE.com"}
Check that checks.discoverability.dnsAid.status is "pass".