subdomain can be a tld according to psl
kpcyrd opened this issue · 0 comments
kpcyrd commented
The following script fails with an error:
-- Description: TODO your description here
-- Version: 0.1.0
-- License: GPL-3.0
function run()
info(psl_domain_from_dns_name('a.prod.fastly.net'))
end
This is because a.prod.fastly.net
is on the public suffix list and is therefore equal with com
. psl_domain_from_dns_name
and the domains
table are psl+1. I'm considering changing the rules slightly so that it's still supposed to be psl+1, but also accepts psl entries.
Versions
- sn0int --version: 0.12.0