moby/integration
Albin Kerouanton a987bc5ad0 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>
(cherry picked from commit 790c3039d0)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-19 11:21:46 +00:00
..
build integration/build: Use setupTest 2023-12-05 12:49:30 +01:00
capabilities api/types: move ContainerLogsOptions to api/types/container 2023-10-12 11:30:12 +02:00
config Don't run tests twice 2023-09-19 11:37:55 +02:00
container Merge pull request #47491 from akerouanton/25.0-c8d-skip-last-windows-tests 2024-03-01 14:04:41 +01:00
daemon integration: Reset OTEL_EXPORTER_OTLP_ENDPOINT for sub-daemons 2024-03-01 10:30:13 +01:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image integration/save: Add tests checking OCI archive output 2024-02-05 14:28:02 +01:00
internal integration: Add container.Output utility 2024-02-27 23:31:35 +01:00
network Simplify macvlan/ipvlan integration test structure 2024-03-01 10:34:52 +01:00
networking libnet: Don't forward to upstream resolvers on internal nw 2024-03-19 11:21:46 +00:00
plugin tests: add plugin install test w/ digest 2024-02-05 09:40:54 +01:00
secret Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
service libnet: remove Endpoint.anonymous 2023-12-20 19:04:37 +01:00
session integration(-cli): remove skips for old daemon versions (<20.10) 2023-12-05 01:03:50 +01:00
system integration(-cli): remove skips for old daemon versions (<20.10) 2023-12-05 01:03:50 +01:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume integration: Fix Parallel before setupTest 2024-01-17 13:06:05 +01:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00