From 2e952fd489c9bb69668ea782a0fb1607dcfa2ffa Mon Sep 17 00:00:00 2001 From: "Daniel J. Holmes (jaitaiwan)" Date: Thu, 26 Sep 2024 11:41:38 +1000 Subject: [PATCH] fix: Ensure dns disabled for networks Podman creates the default bridge network with dns_enabled to false. Subsequent calls to podman network create then create bridge networks where dns_enabled is set to true causing containers on said network to make use of podman's dnsutil plugin. This results in latency issues for gateway connections. This change ensures that networks created use similar settings to that of the default bridge network which has no latency issues. --- pkg/deploy/generator/scripts/util-system.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/deploy/generator/scripts/util-system.sh b/pkg/deploy/generator/scripts/util-system.sh index cf93645fde4..ddf09a17d87 100644 --- a/pkg/deploy/generator/scripts/util-system.sh +++ b/pkg/deploy/generator/scripts/util-system.sh @@ -329,6 +329,7 @@ create_podman_networks() { log "Creating podman network \"$n\" with subnet \"${nets[$n]}\"" podman network \ create \ + --disable-dns \ --subnet "${nets["$n"]}" \ "$n" done