aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-26 13:46:10 +0200
committerKim Alvefur <zash@zash.se>2022-05-26 13:46:10 +0200
commitb0e3ea775a9e45d98fe2fa991ccad54a9ca87990 (patch)
tree4cdee5ce982c52e0141523c4a3e3e1d00bf7fb98 /util
parent1a87a2d40cf4812b57ea2db92ba4dd4364512e62 (diff)
parentd545540ae025b5fdb6ff2cb806b584e3db0f441a (diff)
downloadprosody-b0e3ea775a9e45d98fe2fa991ccad54a9ca87990.tar.gz
prosody-b0e3ea775a9e45d98fe2fa991ccad54a9ca87990.zip
Merge 0.12->trunk
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl/check.lua4
1 files changed, 0 insertions, 4 deletions
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;