Changeset

12521:f07b3f6ad903

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 26 May 2022 13:46:10 +0200
parents 12519:d935af51c644 (current diff) 12520:bb5f772b3189 (diff)
children 12523:d2177cb5a766
files
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/util/prosodyctl/check.lua	Sat May 21 13:11:25 2022 +0200
+++ b/util/prosodyctl/check.lua	Thu May 26 13:46:10 2022 +0200
@@ -709,10 +709,6 @@
 		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;