You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation (CLAUDE.md:226-253) extensively describes DNS server allowlisting as a defense against DNS exfiltration, but the actual implementation doesn't restrict DNS queries by destination IP.
Documentation claims
--dns-servers flag restricts DNS queries to trusted DNS server IPs only
Actual behavior
CLI accepts --dns-servers flag
Container-level: setup-iptables.sh allows DNS to any IP (port 53)
Host-level: host-iptables.ts allows DNS to any IP (port 53)
DNS server IPs are not used in filtering rules
Actions needed
Update documentation to reflect actual behavior (interim)
Priority
Low
Description
The documentation (
CLAUDE.md:226-253) extensively describes DNS server allowlisting as a defense against DNS exfiltration, but the actual implementation doesn't restrict DNS queries by destination IP.Documentation claims
Actual behavior
--dns-serversflagsetup-iptables.shallows DNS to any IP (port 53)host-iptables.tsallows DNS to any IP (port 53)Actions needed
Code locations
CLAUDE.md:226-253- DNS defense documentationsrc/cli.ts- Parses--dns-serversbut doesn't use it for filteringcontainers/copilot/setup-iptables.sh:29-37- Generic DNS allow rulessrc/host-iptables.ts:181-192- Generic DNS allow rulesRelated to
Issue #9 (DNS IP restriction implementation)