Default DNS updated

pull/2/head
Alexandre Dulaunoy 2016-02-29 21:50:37 +01:00
parent 93624bf0c3
commit ef6487d4aa
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def handler(q=False):
r = dns.resolver.Resolver()
r.timeout = 2
r.lifetime = 2
r.nameservers = ['8.1.8.7']
r.nameservers = ['8.8.8.8']
try:
answer = r.query(toquery, 'A')
except dns.resolver.NXDOMAIN: