aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/dns.lua1
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