diff options
author | Kim Alvefur <zash@zash.se> | 2019-04-13 18:23:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-04-13 18:23:02 +0200 |
commit | 0b0621b66064a79954ccb9bfbfed8941e34f15e5 (patch) | |
tree | 9faf2858cb48870972f811539b197f764b422876 /net | |
parent | 92bb509c8afff767492044972a29000e3e4cbfbd (diff) | |
parent | 94880142e9db842117f1836cd53522d9c2258cab (diff) | |
download | prosody-0b0621b66064a79954ccb9bfbfed8941e34f15e5.tar.gz prosody-0b0621b66064a79954ccb9bfbfed8941e34f15e5.zip |
Merge 0.11->trunk
Diffstat (limited to 'net')
-rw-r--r-- | net/dns.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dns.lua b/net/dns.lua index af5f1216..3902f95c 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -704,6 +704,7 @@ function resolver:adddefaultnameservers() -- - - - - adddefaultnameservers end end end + resolv_conf:close(); end if not self.server or #self.server == 0 then -- TODO log warning about no nameservers, adding localhost as the default nameserver |