automation-tests/common/libnetwork/resolvconf
Paul Holzinger 27aeb4ad8c libnetwork/resolvconf: filter out ipv6 link local
One thing I noticed in the recent aardvark-dns bug[1] that we copy link
local nameservers into the container. This makes no sense as the link
local address contains a zone (interface name/index) and cannot work
without it. However a container by design will have a different
interface name/index so the address can never work in the normal case.

Only when we do share the host netns then we should keep it.

[1] https://github.com/containers/aardvark-dns/pull/537

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-07 16:49:02 +01:00
..
resolv.go Replace golang.org/x/exp/slices with slices from std 2024-04-22 14:12:47 +02:00
resolv_test.go libnetwork/resolvconf: filter out ipv6 link local 2024-11-07 16:49:02 +01:00
resolvconf.go libnetwork/resolvconf: filter out ipv6 link local 2024-11-07 16:49:02 +01:00