diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/resolvers/service.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/resolvers/service.lua b/net/resolvers/service.lua index 1e2aaeec..104a45b2 100644 --- a/net/resolvers/service.lua +++ b/net/resolvers/service.lua @@ -121,6 +121,9 @@ function methods:next(cb) self.extra.use_dane = false; end end + if self.extra then + self.extra.srv_secure = answer.secure; + end if #answer == 0 then if self.extra and self.extra.default_port then |