mirror of https://github.com/MISP/misp-modules
Default DNS updated
parent
93624bf0c3
commit
ef6487d4aa
|
@ -19,7 +19,7 @@ def handler(q=False):
|
||||||
r = dns.resolver.Resolver()
|
r = dns.resolver.Resolver()
|
||||||
r.timeout = 2
|
r.timeout = 2
|
||||||
r.lifetime = 2
|
r.lifetime = 2
|
||||||
r.nameservers = ['8.1.8.7']
|
r.nameservers = ['8.8.8.8']
|
||||||
try:
|
try:
|
||||||
answer = r.query(toquery, 'A')
|
answer = r.query(toquery, 'A')
|
||||||
except dns.resolver.NXDOMAIN:
|
except dns.resolver.NXDOMAIN:
|
||||||
|
|
Loading…
Reference in New Issue