flip _check_list logic - NXDOMAIN is a "clean" IP
This commit is contained in:
parent
57760a4ad7
commit
bfe5fc6569
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue