-- 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.
The following script fails with an error:
This is because
a.prod.fastly.net
is on the public suffix list and is therefore equal withcom
.psl_domain_from_dns_name
and thedomains
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