Skip to content

feat(network-proxy): add policy-backed DNS service#31642

Draft
viyatb-oai wants to merge 2 commits into
mainfrom
codex/viyatb/linux-managed-dns-policy
Draft

feat(network-proxy): add policy-backed DNS service#31642
viyatb-oai wants to merge 2 commits into
mainfrom
codex/viyatb/linux-managed-dns-policy

Conversation

@viyatb-oai

@viyatb-oai viyatb-oai commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Native DNS clients do not honor HTTP or SOCKS proxy variables, so they need a DNS-speaking path into the managed network proxy rather than direct resolver access.

  • add a private, loopback-only framed DNS endpoint to the managed proxy lifecycle
  • evaluate live domain and local-address policy around a single host lookup, then synthesize bounded A/AAAA responses
  • preserve execution attribution when supplied, use baseline policy for unscoped requests, and reject unknown tokens
  • bound connection concurrency, handshakes, frames, lookups, answers, and response size
  • audit and report policy denials through the existing blocked-request path

Testing

  • just test -p codex-network-proxy

Stack: 1 of 2. Next: #31644.

@viyatb-oai viyatb-oai force-pushed the codex/viyatb/linux-managed-dns-policy branch from 9f584f0 to a5ea367 Compare July 8, 2026 23:06
@viyatb-oai viyatb-oai changed the title feat(network-proxy): expose managed domain policy feat(network-proxy): add policy-backed DNS service Jul 8, 2026
@viyatb-oai viyatb-oai requested a review from winston-openai July 9, 2026 19:12
Co-authored-by: Codex noreply@openai.com
@viyatb-oai viyatb-oai force-pushed the codex/viyatb/linux-managed-dns-policy branch from e0b5dc2 to 83d864e Compare July 9, 2026 19:18
Co-authored-by: Codex noreply@openai.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant