flip _check_list logic - NXDOMAIN is a "clean" IP

This commit is contained in:
jesopo 2019-12-12 13:15:27 +00:00
parent 57760a4ad7
commit bfe5fc6569

View file

@ -46,5 +46,5 @@ class Module(ModuleManager.BaseModule):
try: try:
dns.resolver.query(list_address) dns.resolver.query(list_address)
except dns.resolver.NXDOMAIN: except dns.resolver.NXDOMAIN:
return False
return True return True
return False