From 19266e4a7354814b5707399e64a98649a731ca04 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 14 Jun 2022 18:07:28 +0200 Subject: [PATCH] dnsdist: Do not try to auto-upgrade DoT and DoH backends --- pdns/dnsdist-lua.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 455497e09a..157e34e37a 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -653,7 +653,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) infolog("Added downstream server %s", ret->d_config.remote.toStringWithPort()); } - if (autoUpgrade) { + if (autoUpgrade && ret->getProtocol() != dnsdist::Protocol::DoT && ret->getProtocol() != dnsdist::Protocol::DoH) { dnsdist::ServiceDiscovery::addUpgradeableServer(ret, upgradeInterval, upgradePool, upgradeDoHKey, keepAfterUpgrade); } -- 2.47.2