Changeset

12815:2d134201dc55

net.resolvers.basic: Record hostname coming from secure SRV records Will be useful even later...
author Kim Alvefur <zash@zash.se>
date Thu, 22 Dec 2022 00:11:23 +0100
parents 12814:3bfb2f9e13af
children 12816:02f8b10d73e8
files net/resolvers/basic.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/resolvers/basic.lua	Thu Dec 22 00:10:49 2022 +0100
+++ b/net/resolvers/basic.lua	Thu Dec 22 00:11:23 2022 +0100
@@ -108,6 +108,8 @@
 				self.extra.tlsa = nil;
 				self.extra.dane_hostname = nil;
 			end
+		elseif self.extra and self.extra.srv_secure then
+			self.extra.secure_hostname = self.hostname;
 		end
 
 		self:next(cb);