Skip to content
Commit Detail

Commit cb7d785

Author
Gabi Villalonga Simon <gvillalongasimon@cloudflare.com> 2026-04-08 10:08:46 -0500
Parents
6a9e483
Tree
aefb723
containers: In local dev, we should be able to set dns-servers to have predictable /etc/resolv.conf across platforms

The default in production is 1.1.1.1/8.8.8.8, so match that file.

This also fixes an issue where the container tries to reach the Docker
DNS resolver which might break egress interception for some users.

We should avoid the pattern of local dev of docker reaching its internal
DNS gateway, as it can also expose reachability to other containers in
the local dev host. Users should leverage intercepting via Workers to
reach other containers in the machine to have the same behaviour in both
production and local dev.

Files changed