920 words
5 minutes

20 from DNS Exfiltration From an Air-Gapped VPC: No Route Out Is Not No Way Out

The name boundary: a VPC with no route out is closed once its resolver refuses the names it does not need

By Docker Captain · CNCF Ambassador · IBM Champion
Sealed network box, every port capped but one Blueprint 20

Every VPC carries a resolver that looks up any public name for anything inside it, and whatever a workload writes into that name leaves with the question. The route table never sees it.

The procedure finds that way out first, closes it with names rather than packets, and shows the check the lookup it exists to refuse before anyone trusts it.

  1. 1

    Ask the resolver for a public name from inside the cluster

    Run a pod with nslookup example.com in the cluster's VPC, and ask from the node as well: on EKS both answered. An answer, with no route out and no NAT gateway, is the way out, open. Owner: the platform engineer who owns the VPC.

  2. 2

    List what stands between the question and the internet

    Read the firewall rule group associations, the fail-open setting and the query log associations for the VPC with aws route53resolver list-firewall-rule-group-associations, list-firewall-configs and list-resolver-query-log-config-associations. Empty associations mean nothing filters names and nothing records them. Security groups and network ACLs are the wrong layer: AWS says they cannot filter traffic to or from the resolver.

  3. 3

    Allow AWS's names, and refuse the rest with NXDOMAIN

    Two domain lists and two rules: the allow list holds AWS's service domain and the VPC's internal zones, and every other name matches a list that holds one wildcard and gets NXDOMAIN, the answer clients stop retrying. Owner: the engineer who owns the VPC's Terraform, with security approving every name added to the allow list.

  4. 4

    Fail closed, and write it down

    With fail-open off, a firewall that cannot decide refuses too. It is already AWS's default; writing it in the Terraform turns any change to it into a diff someone reviews.

  5. 5

    Keep a record of every question

    Flow logs do not record traffic to the resolver, so Resolver query logging is the only record the VPC can keep that a question was asked. Check its association in the same pass as the firewall's; Route 53 does not charge for the query logs, only their destination does.

  6. 6

    Assert the firewall's shape on every plan

    A Terraform test against a mocked provider, with no account and no cost, asserts the refusal is NXDOMAIN for every name, the allow rule comes first, the allow list holds only AWS's and internal names, the association exists and fail-open is off, and one run turns the firewall off as the violation (the tests).

  7. 7

    Plant the ways to undo it

    Fail-open turned on, a public zone slipped into the allow list, the association never made: the static check must fail on each (the plants), as in planted violations.

  8. 8

    Keep the violation one input away on the real account

    The live run on AWS takes the firewall off by one input, so the lookup it refuses can be shown again whenever someone doubts the check. The account, the switch and the bill follow the bounded cloud run. Owner: the platform team that owns the account's runs.

What shows it works

The runs behind each step.

This closes the names, not the endpoints. The S3 gateway endpoint and the interface endpoints keep AWS's default endpoint policy, which grants full access, so a workload holding a credential for another account could still send data to that account's bucket or registry through them. An endpoint policy that names this account's resources is the next step, and it is not tested here.

A diagram that says isolated is a claim; the resolver decides whether the network keeps it.

The long version is the post DNS Exfiltration From an Air-Gapped VPC. AWS, Amazon DNS server, Route 53 Resolver DNS Firewall, Flow log limitations and Route 53 pricing; checked November 2026.


Vladimir Mikhalev

Docker CaptainCNCF AmbassadorIBM Champion

The Verdict — production-tested analysis on YouTube.

The Verdict

Inconvenient truths about shipping in the AI era

Container security, platform engineering, and the agentic shift — tested in production, argued without the hype. The verdict reaches your inbox the moment there's one worth sending.

Related Posts

Same category
  1. 1
    DNS Exfiltration From an Air-Gapped VPC: No Route Out Is Not No Way Out
    DevOps & Cloud · DNS exfiltration needs no route. In a VPC with no internet gateway and no NAT, a pod and its node still resolved example.com, until a DNS Firewall refused it.
  2. 2
    Scheduled Workflows Fail Silently: A GitHub Actions Heartbeat for 122 Repositories
    DevOps & Cloud · GitHub Actions switches off a scheduled workflow after 60 quiet days, with no failed run and no red badge. What watches every schedule, and the watcher.
  3. 3
    Completed Is Not Restored: Kyverno Fail-Open, a Velero Restore and an HTTP 200 That Meant 500
    DevOps & Cloud · Scale Kyverno to zero and its webhooks vanish. A Velero restore said Completed over an empty disk. A 200 carried a 500. Three statuses that reported success.
  4. 4
    Docker Hub Immutable Tags: The Image That Shipped Before It Was Signed
    DevOps & Cloud · Docker Hub immutable tags refused a per-commit tag after the version tags were already out. The image shipped, the run died, and nothing ever signed it.

More Blueprints

All 20
  1. 01
    The blast radius assessment
    Signal, 23 February 2026 · Map what an AI agent can break, and how fast a person can undo it, before it gets a single key: six steps, a worksheet and the repositories that measure the same rules.
  2. 02
    The AI intake gate
    Signal, 12 March 2026 · Find every AI tool in use, ask for its backend's access rules instead of a questionnaire, and block what cannot use SSO and central logging, before the first prompt.
  3. 03
    Build or buy a no-code AI platform
    Signal, 20 January 2026 · When a no-code computer vision subscription is the right buy, when it is a slow trap, three questions before the pilot and four clauses before you sign.
  4. 04
    The AI-BOM admission gate
    Signal, 18 October 2026 · Write a signed AI-BOM for every model from its lock line, read it at admission, and refuse any model unless every licence it declares is on the site's list.
The name boundary: a VPC with no route out is closed once its resolver refuses the names it does not need
https://heyvaldemar.com/blueprints/name-boundary/
Author
Vladimir Mikhalev
Published
2026-12-03
License
CC BY-NC-SA 4.0