-- all requests to find any request with the matching tld | -- all requests to find any request with the matching tld | ||||
local sel_tld | local sel_tld | ||||
for _,tld in ipairs(dkim_tlds) do | for _,tld in ipairs(dkim_tlds) do | ||||
if k:find(tld) then | |||||
if k:find(tld, 1, true) then | |||||
sel_tld = tld | sel_tld = tld | ||||
break | break | ||||
end | end |