DNS for AI Discovery (DNS-AID)
Haggle supports decentralized, tamper-proof agent discovery via DNS SVCB and HTTPS records signed with DNSSEC.
1. Standard Overview
Per draft-mozleywilliams-dnsop-dnsaid and RFC 9460, DNS for AI Discovery enables autonomous agents and crawlers to discover entrypoints without prior knowledge of URL endpoints by querying the authoritative DNS zone under the _agents namespace.
2. Haggle Published Records
The following records are provisioned for haggle.algeris.com:
; DNS-AID Records for haggle.algeris.com
_index._agents.haggle.algeris.com. 3600 IN SVCB 1 haggle.algeris.com. alpn="h2,h3" port=443 key65300="/.well-known/agent-skills/index.json" mandatory=alpn,port
_a2a._agents.haggle.algeris.com. 3600 IN SVCB 1 haggle.algeris.com. alpn="a2a,h2" port=443 key65301="/.api/negotiations" mandatory=alpn,port
_mcp._agents.haggle.algeris.com. 3600 IN HTTPS 1 haggle.algeris.com. alpn="h2,h3" port=443 key65302="/api/mcp" mandatory=alpn,port
_auth._agents.haggle.algeris.com. 3600 IN HTTPS 1 haggle.algeris.com. alpn="h2,h3" port=443 key65303="/auth.md" mandatory=alpn,port
3. Testing via DNS-over-HTTPS (DoH)
Query DNS-AID records securely using Cloudflare or Google DoH endpoints:
# Query index record using dig dig +short SVCB _index._agents.haggle.algeris.com # Query using curl over Cloudflare DoH curl -H "accept: application/dns-json" \ "https://cloudflare-dns.com/dns-query?name=_index._agents.haggle.algeris.com&type=SVCB"