From d257416abe54466f66f6c92d95f48141e556fdb5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 22 Dec 2022 00:11:23 +0100 Subject: net.resolvers.basic: Record hostname coming from secure SRV records Will be useful even later... --- net/resolvers/basic.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/resolvers') diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua index e58165ba..3ef916a2 100644 --- a/net/resolvers/basic.lua +++ b/net/resolvers/basic.lua @@ -108,6 +108,8 @@ function methods:next(cb) 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); -- cgit v1.2.3