From d545540ae025b5fdb6ff2cb806b584e3db0f441a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 26 May 2022 13:03:58 +0200 Subject: util.prosodyctl.check: Remove now redundant unbound config tweak This is now done in net.unbound itself Turning it back on in the config may still cause the problem of entries there masking the DNS values. --- util/prosodyctl/check.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'util') diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index e7e362e1..42d73f29 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -709,10 +709,6 @@ local function check(arg) local dns = require "net.dns"; pcall(function () local unbound = require"net.unbound"; - local unbound_config = configmanager.get("*", "unbound") or {}; - unbound_config.hoststxt = false; -- don't look at /etc/hosts - configmanager.set("*", "unbound", unbound_config); - unbound.dns.purge(); -- ensure the above config is used dns = unbound.dns; end) local idna = require "util.encodings".idna; -- cgit v1.2.3