aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/basic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/resolvers/basic.lua')
-rw-r--r--net/resolvers/basic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua
index 2153a641..220cb0c8 100644
--- a/net/resolvers/basic.lua
+++ b/net/resolvers/basic.lua
@@ -37,7 +37,7 @@ function methods:next(cb)
if n > 0 then return; end
self.targets = targets;
if self.extra and self.extra.use_dane then
- if secure then
+ if secure and tlsa[1] then
self.extra.tlsa = tlsa;
self.extra.dane_hostname = self.hostname;
else