mod_s2s: Add config setting to enable DANE
authorKim Alvefur <zash@zash.se>
Tue, 02 Mar 2021 22:42:04 +0100
changeset 11419 a38f9e09ca31
parent 11418 5a71f14ab77c
child 11420 0a9d6eec6a8f
mod_s2s: Add config setting to enable DANE
plugins/mod_s2s.lua
--- a/plugins/mod_s2s.lua	Tue Mar 02 22:41:59 2021 +0100
+++ b/plugins/mod_s2s.lua	Tue Mar 02 22:42:04 2021 +0100
@@ -56,6 +56,7 @@
 	default_port = 5269;
 	use_ipv4 = module:get_option_boolean("use_ipv4", true);
 	use_ipv6 = module:get_option_boolean("use_ipv6", true);
+	use_dane = module:get_option_boolean("use_dane", false);
 };
 
 module:hook("stats-update", function ()