Changeset

12814:3bfb2f9e13af

net.resolvers.service: Record DNSSEC security status of SRV records Will be useful later.
author Kim Alvefur <zash@zash.se>
date Thu, 22 Dec 2022 00:10:49 +0100
parents 12813:4be161c25e14
children 12815:2d134201dc55
files net/resolvers/service.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/resolvers/service.lua	Wed Dec 21 23:46:37 2022 +0100
+++ b/net/resolvers/service.lua	Thu Dec 22 00:10:49 2022 +0100
@@ -121,6 +121,9 @@
 					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