Comparison

net/resolvers/service.lua @ 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
parent 12813:4be161c25e14
child 12974:ba409c67353b
comparison
equal deleted inserted replaced
12813:4be161c25e14 12814:3bfb2f9e13af
119 if self.extra then 119 if self.extra then
120 -- Insecure results, so no DANE 120 -- Insecure results, so no DANE
121 self.extra.use_dane = false; 121 self.extra.use_dane = false;
122 end 122 end
123 end 123 end
124 if self.extra then
125 self.extra.srv_secure = answer.secure;
126 end
124 127
125 if #answer == 0 then 128 if #answer == 0 then
126 if self.extra and self.extra.default_port then 129 if self.extra and self.extra.default_port then
127 self.resolver = basic.new(self.hostname, self.extra.default_port, self.conn_type, self.extra); 130 self.resolver = basic.new(self.hostname, self.extra.default_port, self.conn_type, self.extra);
128 else 131 else