diff options
author | Kim Alvefur <zash@zash.se> | 2022-12-22 00:10:49 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-12-22 00:10:49 +0100 |
commit | 3c7f73e6c86a62275414f0525d0bdba1a2df7b7c (patch) | |
tree | c8cddfb559d3785a71e0799daa02e9dd3a876ec0 /net | |
parent | 325464eb11a4b6c31430c6a1d40db74207802cd4 (diff) | |
download | prosody-3c7f73e6c86a62275414f0525d0bdba1a2df7b7c.tar.gz prosody-3c7f73e6c86a62275414f0525d0bdba1a2df7b7c.zip |
net.resolvers.service: Record DNSSEC security status of SRV records
Will be useful later.
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 |