return raw result, not "unknown" for ad-hoc dnsbls

This commit is contained in:
jesopo 2020-08-07 16:43:45 +00:00
parent 1f5b7a6f41
commit 4fa05245b3

View file

@ -6,7 +6,7 @@ class DNSBL(object):
self.hostname = hostname self.hostname = hostname
def process(self, result: str): def process(self, result: str):
return "unknown" return result
class ZenSpamhaus(DNSBL): class ZenSpamhaus(DNSBL):
hostname = "zen.spamhaus.org" hostname = "zen.spamhaus.org"