plugins/mod_s2s/s2sout.lib.lua
changeset 4832 6b3aec1e0d9f
parent 4814 474684c07a3a
child 4906 89df1f03546a
--- a/plugins/mod_s2s/s2sout.lib.lua	Thu May 10 23:01:10 2012 +0200
+++ b/plugins/mod_s2s/s2sout.lib.lua	Thu May 10 23:05:03 2012 +0200
@@ -26,6 +26,8 @@
 
 local sources = {};
 
+local dns_timeout = module:get_option_number("dns_timeout", 15);
+dns.settimeout(dns_timeout);
 local max_dns_depth = module:get_option_number("dns_max_depth", 3);
 
 local s2sout = {};