diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/dns.lua | 4 |
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 |