But.... if the ASN/Country matchers match against a known set of ASNs/Countries, what about .lookup(addr)
(which currently returns the ASN/Country for addr
) and .within(addr, ASN/Country)
(which returns a bool
)?
I believe these are still useful methods. Perhaps less so for Nam-Shub of Enki, but other request handlers may wish to do things differently.
Luckily, they can still work! The matcher will internally store the database, and the country/asn list separately, and for .lookup()
and .within()
, it will simply not use the list, only the db.