From 3c7f73e6c86a62275414f0525d0bdba1a2df7b7c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 22 Dec 2022 00:10:49 +0100 Subject: net.resolvers.service: Record DNSSEC security status of SRV records Will be useful later. --- net/resolvers/service.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/resolvers') 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 -- cgit v1.2.3