← Developers Deployment standard

Apply Agent DNS to any agent runtime

Six steps. No SDK, sidecar or proxy.

Follow it once per agent. The agent gets a policy it cannot change, an inventory of what it reaches, a hold on anything new, and an event per decision.

Why

Why the resolver is the control point

Every action an agent takes starts with a name lookup

Model calls, tool calls, package installs and data fetches all begin with a DNS query. The resolver sees every destination before the connection exists.

Policy is enforced outside the agent

The resolver is not part of the agent process. No prompt injection, poisoned tool description or operator flag can change what it answers.

You get an inventory, a hold and an audit trail

Each policy records every destination its agent reached, holds destinations it has never seen, and writes one event per decision to the SIEM you already run.

Procedure

The six steps

Coverage

Runtimes with a guide

RuntimeComponentsResolver set by
Hermes AgentGateway host, docker or ssh terminal backend, compose deploymentHost resolver, Docker daemon default, compose dns
OpenClawGateway host, Docker sandboxHost resolver, Docker daemon default
OpenHandsApp container, runtime containersdocker run --dns, Docker daemon default or docker_runtime_kwargs
Claude Code, Codex CLI, Gemini CLIDevcontainers, CI runners, managed workstations, Gemini docker sandboxrunArgs --dns, DoH virtual site, MDM DoH profile, SANDBOX_FLAGS
Limits

Not covered

  • Vendor-hosted sandboxes with no resolver control: Hermes on Modal, Daytona or Vercel Sandbox; OpenClaw on Daytona. Use the docker or ssh backend where DNS governance is required.
  • Hosted agents that run on the vendor's infrastructure (browser agents and assistants that never execute on your network).
  • Connections to an IP address the agent already holds. Agent DNS governs destinations reached by name; the egress firewall governs addresses and ports, and it stays.

Frameworks you build on (LangChain, CrewAI, the OpenAI and Anthropic SDKs, Vercel AI, Spring AI, Semantic Kernel) are in the developer library with the guard that raises a typed exception on a held destination.

Evaluate Agent DNS with your own agent traffic

Apply the standard to one agent in Learn Only and review what it reached for.