IETF Draft · Open Source

The universal .discovery layer for AI agents.

Publish agents to DNS, discover them like websites, and verify trust with DNSSEC. No centralized registry, just signal.

Install the full SDK in one shot:

pip docker source
pip install "dns-aid[all]"

Core capabilities

What DNS-AID gives you, built on the DNS-AID protocol.

Core principle

Zero new infrastructure.
Built on DNS you already run.

DNS-AID is a naming convention on top of existing SVCB, TXT, and TLSA records. No new record types, no new servers, no new protocols — just standards from RFC 9460 and RFC 4033.

SpecRFC 9460
SecurityDNSSEC
StatusIETF draft
Security

DNSSEC trust chain

Cryptographic proof that agent records are authentic and untampered.

Protocols

Protocol agnostic

MCP, A2A, HTTPS, and any future protocol via proto.

Discovery

Name and index discovery

Look up a known agent by name, or start from a domain's agent index.

Enterprise

Split-horizon DNS

Different agents to internal vs. external. Built-in tenant isolation.

SDK

Open-source toolkit

CLI, Python SDK, MCP server. Eight backends ship in the box.

Performance

Cacheable & decentralized

DNS caches automatically. No central API. Distributed lookups.

The DNS-AID namespace

A deterministic, human-readable naming pattern for agent records.

DNS-AID Naming Pattern

<agent-name>.<your-domain>                  primary owner (flat FQDN)
_index._agents.<your-domain>             organization index pointer (SVCB)

Examples:
chatbot.example.com                      MCP chatbot
search.example.com                       A2A search agent
data-cleaner.acme.com                    data-cleaning agent
_index._agents.example.com               points to the agent registry

Multi-tenant:
analytics.customer1.saas.com

Anatomy of an agent record

Each agent is an SVCB record packed with machine-readable metadata.

my-agent.example.com. 3600 IN SVCB 1 agent.example.com. (
    alpn="h2,h3"                              ; TLS transport
    port=443                                  ; service port
    proto=mcp                                 ; agent protocol (one per record)
    proto-ver="2025-11-25"                    ; protocol version hint
    path="/mcp"                               ; endpoint path
    desc-ref="https://example.com/d.json"     ; descriptor reference
    desc-ref-digest="abc123..."               ; descriptor digest
    ipv4hint=192.0.2.1                        ; address hint
)
my-agent.example.com. 3600 IN SVCB 2 agent.example.com. (
    alpn="h2,h3"
    port=443
    proto=a2a                                 ; same agent over A2A
    well-known="agent-card.json"              ; path under /.well-known/
)
alpn TLS transport (h2, h3)
port Service port number
proto Agent protocol, one per record (mcp, a2a)
proto-ver Agent protocol version, as a selection hint
path Endpoint path on the target
well-known Path under /.well-known/ per RFC 8615
desc-ref Reference to the agent's capability descriptor
desc-ref-digest Digest of the descriptor, for tamper detection
ipv4hint Address hint to reduce extra lookups
policy, realm Reserved for operator metadata (experimental)

An agent that speaks several protocols publishes one record per protocol at the same name. Parameter names follow draft-mozleywilliams-dawn-dnsaid-00. dns-aid-core 0.28 still publishes the earlier -02 shape (alpn=mcp, bap, cap, cap-sha256) and will move to these names as it tracks the draft.

How it works

Four steps from publish to connect.

1

Publish your agent

Use the CLI or SDK to create an SVCB record under your domain's _agents zone with endpoint, protocol, and capabilities.

2

DNSSEC signs the zone

Your authoritative DNS signs the records, creating a cryptographic chain of trust from root to your agent.

3

Agents discover yours

Remote agents query DNS for your SVCB record by name, capability type, or full domain index.

4

Validate & connect

The discoverer validates DNSSEC + DANE, then connects directly via the protocol in your SVCB record.

Quickstart

Get up and running with the dns-aid-core Python package.

Install
pip install "dns-aid[all]"           # everything
pip install "dns-aid[cli]"           # CLI only
pip install "dns-aid[route53]"       # AWS backend
pip install "dns-aid[cloudflare]"    # Cloudflare backend
pip install "dns-aid[nios]"          # Infoblox NIOS backend
pip install "dns-aid[mcp]"           # MCP server
Publish
dns-aid publish \
  --name my-chatbot \
  --domain example.com \
  --protocol mcp \
  --endpoint agent.example.com \
  --capability chat
Discover
dns-aid discover example.com
dns-aid discover example.com --json
dns-aid discover example.com --use-http-index
Verify & Diagnose
dns-aid verify my-chatbot.example.com
dns-aid doctor --domain example.com
Invoke agents
# List tools on an MCP agent
dns-aid list-tools https://mcp.example.com/mcp

# Call a specific tool
dns-aid call https://mcp.example.com/mcp analyze_security \
  --arguments '{"domain":"example.com"}'

# Send a message to an A2A agent (discover-first)
dns-aid message "What is DNS-AID?" \
  -d ai.infoblox.com -n security-analyzer
Manage
# Delete an agent from DNS
dns-aid delete -n my-chatbot -d example.com -p mcp
Publish
from dns_aid import publish

result = await publish(
    name="my-chatbot",
    domain="example.com",
    protocol="mcp",
    endpoint="agent.example.com",
    capabilities=["chat", "summarize"],
    description="General-purpose chat agent",
)
print(f"Published: {result.agent.fqdn}")
print(f"Records:   {result.records_created}")
Discover
import asyncio
from dns_aid import discover, verify

async def main():
    result = await discover("example.com")
    for agent in result.agents:
        print(f"  {agent.name} — {agent.protocol} @ {agent.endpoint_url}")

    check = await verify("my-agent.example.com")
    print(f"DNSSEC valid: {check.dnssec_valid}")

asyncio.run(main())
Discover-then-Invoke
from dns_aid import discover, invoke

async def find_and_call():
    result = await discover("partner.com", protocol="mcp")
    agent = result.agents[0]
    resp = await invoke(agent, method="tools/list")
    print(f"Latency: {resp.signal.invocation_latency_ms}ms")
    print(f"Data:    {resp.data}")
Run the MCP Server
# stdio transport (Claude Desktop)
dns-aid-mcp --transport stdio

# HTTP transport
dns-aid-mcp --transport http --port 8000
ToolDescription
publish_agent_to_dnsPublish an agent's endpoint and capabilities
discover_agents_via_dnsFind agents on any domain via DNS
verify_agent_dnsVerify DNSSEC, DANE, and endpoint for an agent
call_agent_toolInvoke a tool on a discovered MCP agent
list_agent_toolsList available tools on a remote MCP agent
send_a2a_messageMessage a discovered A2A agent
diagnose_environmentCheck DNS-AID configuration and connectivity
delete_agent_from_dnsRemove an agent's DNS records
list_published_agentsList agents in your own DNS zone
list_agent_indexRead a domain's agent index record
sync_agent_indexRebuild a domain's agent index from live records
Local Playground — zero credentials needed
git clone https://github.com/infobloxopen/dns-aid-core.git
cd dns-aid-core
pip install "dns-aid[cli]"
docker compose -f tests/integration/bind/docker-compose.yml up -d

# Configure .env for local BIND9 (see .env.example)
dns-aid publish --name test-agent --domain test.dns-aid.local \
  --protocol mcp --endpoint localhost --backend ddns \
  --capability chat

dns-aid discover test.dns-aid.local

Three ways to discover agents

The draft's three discovery cases. The first two are plain DNS queries; the third is left to directories.

Known agent

Look up by name

You know the agent and its domain. One SVCB query returns its endpoint, transport and agent protocol.

dig SVCB chatbot.example.com
Known organization

Start from the index

You know the organization, not the agent. Its index record points to the agent registry; pick an agent there, then look it up by name.

dig SVCB _index._agents.example.com
Known capability

Search a directory

You know what you need, not who provides it. That is search, which DNS-AID leaves to directories; they build it from organization indexes.

# no DNS query: use a directory

Architecture

Cross-organization agent discovery flow.

  ORG 1 (Discovering)                                    ORG 2 (Publishing)

  +----------------+                                   +-------------------+
  |   AI Agent     |---- 1. DNS SVCB Query ----------->|   Authoritative   |
  |   (org1)       |     search.org2.com               |   DNS Server      |
  |                |<--- 2. SVCB Response -------------|   (DNSSEC-signed) |
  +-------+--------+     proto=a2a port=443            +-------------------+
          |               ipv4hint=198.51.100.10
          |
          |   3. DNSSEC + DANE Validation
          |
          |   4. Direct A2A / MCP / HTTPS Connection
          v
  +----------------+
  |   AI Agent     |   Running at 198.51.100.10:443
  |   (org2)       |
  +----------------+
R53
Amazon Route 53
AWS hosted zones
CF
Cloudflare
Global edge DNS
IB
Infoblox NIOS
Enterprise DDI
UD
Infoblox UDDI
Universal DDI cloud
AZ
Azure DNS
Microsoft cloud
GC
Google Cloud DNS
GCP managed
NS1
NS1
Managed DNS & traffic steering
RFC
RFC 2136 DDNS
Any standards-compliant DNS
B9
BIND9
Self-hosted & local dev

Policy enforcement

Discovery gets agents to the right endpoint. Policy helps deployments express who may call, what auth is required, and which runtime checks to apply without turning the homepage into a protocol memo.

Current

Runtime policy today

The DNS-AID learning materials already describe runtime policy evaluation alongside discovery metadata, auth requirements, and deployment-specific policy bundles such as policy.json.

Layers

Caller, target, and infrastructure

Teams can start with caller-side and target-side checks, then add resolver or proxy enforcement only if their DNS or traffic infrastructure supports it.

Extensions

Local inspection patterns

Some deployments may add local request or response inspection for PII, prompt injection, or data handling checks without routing traffic through a central policy service.

What gets enforced

Documented policy examples on this site include caller-domain restrictions, required auth types, availability windows, rate limits, DNSSEC-sensitive decisions, and CEL expressions for tighter runtime checks.

Why it matters

You can start with the current runtime policy model and extend into resolver or proxy enforcement later, instead of committing to a heavyweight centralized security architecture on day one.

Use cases

Real-world agent discovery scenarios.

Enterprise

Cross-org agent collaboration

An internal agent queries DNS to discover a partner's authorized agents, validates delegation, and initiates a secure session automatically.

Academic

Research consortiums

Universities publish agents under their own domains. Collaborators discover services by capability while respecting institutional trust boundaries.

SaaS

Multi-tenant platforms

SaaS providers host agents under tenant-specific zones. DNS zone delegation provides natural isolation and scoped discovery per customer.

Edge

IoT and edge agents

Lightweight agents on constrained devices benefit from DNS's distributed, cacheable architecture with SVCB hints for low-latency bootstrapping.

Security & trust

Built on the internet's battle-tested security infrastructure.

DNSSEC

Mandatory for public zones. Cryptographic chain of trust prevents spoofing and tampering.

DANE / TLSA

Binds TLS certificates to DNS records. Endpoint verification without certificate authority trust issues.

Domain Control Validation

Agents prove authorization via DCV TXT records. Scoped, verifiable, and ideal for ephemeral agents.

Capability Integrity

The desc-ref-digest hash ensures capability descriptors haven't been tampered with.

Split-Horizon DNS

Internal agents stay invisible externally. Different views for different resolver contexts.

Scoped Authorization

TXT records define per-agent roles and permissions scoped to specific services and operations.

FAQ

Does DNS-AID require changes to my DNS servers?
No. DNS-AID introduces no new DNS record types, opcodes, or message formats. It's a naming convention on top of existing SVCB, TXT, and TLSA records. Any DNS server supporting DNSSEC and SVCB will work.
What agent communication protocols does it support?
DNS-AID is protocol-agnostic. Each SVCB record names one agent protocol in its proto parameter (e.g. proto=mcp), and alpn carries the TLS transport (h2, h3). An agent that speaks MCP and A2A publishes two records at the same name. The SDK supports MCP, A2A, and HTTPS today; a new agent protocol needs only a new proto value.
How is this different from a centralized agent registry?
DNS-AID is decentralized. Each organization publishes records under its own domain. No central registry, no vendor lock-in, no single point of failure.
What DNS providers are supported?
AWS Route 53, Cloudflare, Infoblox NIOS, and RFC 2136. A Docker BIND9 playground is included for local dev. The backend architecture is extensible.
Is DNSSEC required?
For public agent zones, yes. Without DNSSEC, discovering agents can't verify records are authentic. For private zones, network-level controls may suffice.
What if my DNS provider doesn't support custom SVCB parameters?
The SDK handles this automatically. Custom parameters are gracefully demoted to TXT records with dnsaid_ prefixes. All metadata is preserved losslessly.
Can I try it without a cloud account?
Yes. The repo includes a Docker Compose setup with a local BIND9 server at tests/integration/bind/. Run docker compose -f tests/integration/bind/docker-compose.yml up -d and experiment entirely on your local machine using the DDNS backend.

Start discovering agents.

Install the SDK, publish your first agent, and build on the open universal discovery layer for AI.

View on GitHub Read the IETF Draft