util/prosodyctl/check.lua
changeset 12237 e4530bdbf5f3
parent 12235 ca8453129ade
child 12321 b4f2027ef917
child 12361 cd11d7c4af8b
--- a/util/prosodyctl/check.lua	Mon Jan 31 17:07:12 2022 +0100
+++ b/util/prosodyctl/check.lua	Tue Feb 01 14:46:42 2022 +0100
@@ -412,7 +412,7 @@
 			local unbound_config = configmanager.get("*", "unbound") or {};
 			unbound_config.hoststxt = false; -- don't look at /etc/hosts
 			configmanager.set("*", "unbound", unbound_config);
-			unbound.purge(); -- ensure the above config is used
+			unbound.dns.purge(); -- ensure the above config is used
 			dns = unbound.dns;
 		end)
 		local idna = require "util.encodings".idna;