changeset 13326 | 28211ed70b4c |
parent 13301 | 7264c4d16072 |
child 13420 | d8e885db9851 |
--- a/plugins/mod_s2s_auth_dane_in.lua Sun Nov 12 00:33:57 2023 +0100 +++ b/plugins/mod_s2s_auth_dane_in.lua Sun Nov 12 00:35:22 2023 +0100 @@ -70,6 +70,7 @@ local function fetch_tlsa(res) local tlsas = {}; for _, rr in ipairs(res) do + if rr.srv.target == "." then return {}; end table.insert(tlsas, resolver:lookup_promise(("_%d._tcp.%s"):format(rr.srv.port, rr.srv.target), "TLSA"):next(ensure_secure)); end return promise.all(tlsas);