moby/integration/networking
Albin Kerouanton 790c3039d0 libnet: Don't forward to upstream resolvers on internal nw
Commit cbc2a71c2 makes `connect` syscall fail fast when a container is
only attached to an internal network. Thanks to that, if such a
container tries to resolve an "external" domain, the embedded resolver
returns an error immediately instead of waiting for a timeout.

This commit makes sure the embedded resolver doesn't even try to forward
to upstream servers.

Co-authored-by: Albin Kerouanton <albinker@gmail.com>
Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-03-14 17:46:48 +00:00
..
bridge_test.go Don't configure IPv6 addr/gw when IPv6 disabled. 2024-03-06 18:32:31 +00:00
etchosts_test.go Detect IPv6 support in containers. 2024-01-19 20:24:07 +00:00
mac_addr_test.go Don't create endpoint config for MAC addr config migration 2024-02-29 17:02:19 +00:00
main_test.go integration: Add a new networking integration test suite 2023-11-03 09:58:50 +01:00
resolvconf_test.go libnet: Don't forward to upstream resolvers on internal nw 2024-03-14 17:46:48 +00:00