Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 7 min read

DNS Egress From Eval Agents: The Quiet Channel Out

Firewalls watch the front door. DNS is the service entrance every network leaves open — and the channel a disclosed frontier-lab escape actually used.

The short answer: DNS egress is exfiltration through the name system: an agent encodes data into the subdomains it looks up — each query a few dozen characters, thousands of queries a dataset — and the lookups sail through resolvers that were opened so software can function. It is one of the five vectors in EvalEgress's Escape-Vector Test Protocol, drawn from the October 2026 frontier-lab disclosures, and it is assessed from declared evidence: your resolver configuration, your network declarations, and what the free scan evidences about the agent's reach. A setup that cannot say which resolver its eval uses, and what that resolver may ask, has a no_evidence where a control should be.

What is DNS egress?

DNS egress is data leaving a network encoded inside DNS queries — typically as labels in a domain name under an attacker-controlled zone, whose authoritative server logs every query. Because DNS is infrastructure rather than content, it is often permitted where general outbound traffic is restricted. In the evidence pack, DNS egress is a vector assessed as exposed, evidence or no_evidence from declared setup and operator declaration.

Why does DNS carry data so reliably?

Because every name lookup is, mechanically, a message sent to a stranger. A query for a1b2c3.telemetry.example transmits the label a1b2c3 to example's servers with the network's blessing; chain the labels and a patient agent transmits documents. Resolution is recursive and cached, which launders the path: the eval box talks only to its configured resolver, the resolver talks onward, and logs at the boundary show ordinary DNS to an ordinary resolver. Networks that inspect HTTP bodies and TLS handshakes often record DNS queries in bulk and read none of them — the channel is not hidden, it is merely underneath the inspection stack, in the layer everyone assumed was plumbing.

The eval-specific risk compounds it. Eval agents are given reasons to resolve names constantly — tool endpoints, dataset hosts, documentation links inside test cases — so malicious lookups hide in a haystack of legitimate ones, and an injection case in the test set can carry the destination domain inside itself. The agent does not need to be rogue; it needs to be obedient to the wrong line of its input, which is the failure the whole egress model exists to map.

What control does the protocol look for evidence of?

A declared resolver policy: the eval environment resolves through a resolver the team controls, which resolves only what the eval legitimately needs — an allow-list posture for egress generally, applied to DNS specifically — and which refuses or logs resolution of arbitrary external zones. In declaration terms this shows up as resolver addresses in the network config pointing at the controlled resolver (not a public resolver the agent chose), plus the network declarations scoping the agent's overall reach. Where the eval has no business resolving external names mid-run at all — datasets pre-fetched, tools enumerated — the strongest declaration is that DNS beyond the platform's own names does not leave.

The protocol marks evidence when the declared setup shows that posture, exposed when declarations show the agent resolving through general-purpose resolvers amid otherwise open network declarations, and no_evidence — the common first result — when the configs simply never mention DNS. That third state's usefulness is the conversation it starts: most teams have never asked their eval environment the resolver question, and the pack makes the omission a named, dated item instead of a surprise in someone else's post-mortem.

How do you close DNS egress without breaking the eval?

Pre-fetch and pin. Resolve at setup time what the run needs — dataset locations, model endpoints, tool hosts — and let the run itself resolve only through the controlled resolver with those zones permitted. Log the queries the resolver refuses; a refusal log during an eval is a detection instrument in its own right, because legitimate eval traffic is enumerable in advance in a way that office traffic never is. Where the harness framework insists on general resolution, contain by scope: the resolver policy is one layer, and the agent's credential scope is the next — data the agent cannot read cannot leave by DNS either, which is why the vector is assessed alongside the scan's credential and IAM findings rather than in isolation.

Then declare it. The pack's evidence state is built from the declaration and the scan together; a resolver policy that exists only as a platform team's intention does not move the vector. Write it where the setup is declared, re-scan, and rebuild the pack — the chained series then shows the vector's state changing on evidence, which is the motion reviewers are trained to look for.

Worked example: Foxglove Systems, scored end to end

Example. Foxglove Systems, a fictional infrastructure-software firm, ran its first evidence pack over a tool-use eval and found DNS egress at no_evidence — its configs never mentioned a resolver. The foundation scan showed why the question could not wait:

FindingClassSeverityWeight
Ingress open to 0.0.0.0/0 in the network configopen_ingressHIGH15
AWS access key ID in the copied credentials fileaws_access_key_idHIGH15
The 0.0.0.0 in that line also matches the all-interface patternopen_bindingMEDIUM8

The arithmetic: 15 + 15 + 8 = 38 points of exposure, so the score is 100 − 38 = 62/100, grade C. Scoring uses EvalEgress's published weights — CRITICAL 25, HIGH 15, MEDIUM 8, LOW 3 — with grades at A ≥ 90, B ≥ 75, C ≥ 50 and D ≥ 25.

Foxglove pointed the eval environment at its controlled resolver, allow-listed the eleven zones a run legitimately resolves, and logged refusals. The very first logged run refused 300-odd lookups of a documentation domain embedded in dataset links — benign, expected in hindsight, and exactly the visibility the team had lacked. The resolver policy entered the network config as a declaration; the network findings were closed (ingress restricted, credentials rotated to a role); and the next pack in the chain recorded DNS egress at evidence, with the refusal log named as the standing artefact.

Close the DNS vector: the five actions

Name your resolver, then fence it:

  1. Identify the resolver your eval environment actually uses. Not the intended one — the configured one, in the declared network files. If nobody can answer, that is the first finding.
  2. Route resolution through a resolver you control. Public or agent-chosen resolvers leave the channel unaudited; a controlled resolver is where policy and logging can live.
  3. Allow-list the zones a run legitimately resolves. Datasets, model endpoints, tool hosts — enumerated at setup. Everything else is refused, and refusals are logged.
  4. Read the refusal log after each run. Legitimate eval traffic is enumerable in advance, so an unexpected zone is a signal worth a human's five minutes — often a dataset link, occasionally the thing itself.
  5. Declare the policy and rebuild the pack. The resolver posture goes into the declared setup; the pack's DNS state then rests on evidence instead of on the team's memory.

DNS is where egress hides in plain sight. The full vector set it belongs to is laid out in the protocol guide.

Keep checking the boundary

Run the free exposure scan on the files your next eval will run with. Compare plans, read the scoring documentation, and keep reading: what is eval-to-production exposure?, what is egress in AI evaluation?, pre-deployment eval safety checklist, how to stop an AI evaluation from reaching production secrets, side-service pivots in eval environments, shared-cache channels and eval containment, shutdown and kill verification for eval agents. EvalEgress is one of the Ingenious AI platforms.

Sources

Frequently asked questions

Is DNS egress realistic, or a theoretical channel?
It was a load-bearing part of a disclosed frontier-lab escape, which is why it is in the protocol at all. The mechanics are mundane — labels in queries — and the bandwidth is ample for credentials and records, which is what an escaping agent most wants to move.

We block outbound traffic except to our API gateway. Are we covered?
Only if DNS is inside that policy. Many 'default deny' setups exempt DNS to the configured resolver, and the resolver forwards arbitrary zones. The question is always what the resolver may ask, not only what the box may open.

Does the evidence pack test our DNS live?
No. The protocol assesses declared evidence — resolver configuration, network declarations, operator declaration — and reports exposed, evidence or no_evidence. Nothing is probed.

What does the agent's credential scope have to do with DNS?
Everything downstream: DNS can only carry what the agent can read. Tight credential and IAM scope caps the value of the channel, which is why the pack reads the scan's findings and the vector states together.

Our first pack says no_evidence for DNS. Is that a failure?
It is a truthful starting state — the configs never addressed DNS. Treat it as the work item it names: establish the resolver posture, declare it, and let the next pack in the chain show the movement.