aboutsummaryrefslogtreecommitdiffstats
path: root/net/dns.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-10 10:46:27 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-10 10:46:27 +0100
commit0a7aa9be7afef15a53c7f46a2a58e3381a348d36 (patch)
treed9d7540d13a8f11cafcf89a9e457ce4ae6bae0ce /net/dns.lua
parentd0dcf0fa8c24226155f673eede1ed68d73a990c1 (diff)
parent1e820b5e1d6ad5ecc578bbb8de285f5694923a02 (diff)
downloadprosody-0a7aa9be7afef15a53c7f46a2a58e3381a348d36.tar.gz
prosody-0a7aa9be7afef15a53c7f46a2a58e3381a348d36.zip
Merge 0.9->trunk
Diffstat (limited to 'net/dns.lua')
-rw-r--r--net/dns.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/dns.lua b/net/dns.lua
index c9c51fe8..89b50255 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -1072,6 +1072,10 @@ function dns.settimeout(...)
return _resolver:settimeout(...);
end
+function dns.cache()
+ return _resolver.cache;
+end
+
function dns.socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set
return _resolver:socket_wrapper_set(...);
end