mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-15 15:30:34 +00:00
Current DNS e2e test are only looking for A records, thus all IPv6 tests fail because we should look for AAAA records. We can ask for both records in the same query, that allows us to have the same tests for both scenarios. ` dig <name> A <name> AAAA` In addition, the logic to find the hostname address has to be changed because the command `hostname -i` fails in an IPv6 environemnt. However, using `getent hosts $(hostname | ...)` give us the IPv6 adddress of the current host. Reference: https://github.com/kubernetes/kubernetes/issues/70248 Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>