From a3f87b513575f6a6e599759352ec703f54fd8dd5 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 14 Jun 2013 09:45:01 +0200 Subject: [PATCH] Use Google default recursive server as default resolver. --- DomainClassifier/domainclassifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DomainClassifier/domainclassifier.py b/DomainClassifier/domainclassifier.py index e2c086c..27c7f54 100644 --- a/DomainClassifier/domainclassifier.py +++ b/DomainClassifier/domainclassifier.py @@ -26,7 +26,7 @@ class Extract: def __init__(self, rawtext = None): self.rawtext = rawtext self.presolver = dns.resolver.Resolver() - self.presolver.nameservers = ['149.13.33.69'] + self.presolver.nameservers = ['8.8.8.8','149.13.33.69'] self.presolver.lifetime = 1.0 self.bgprankingserver = 'pdns.circl.lu' self.vdomain = []