mirror of
https://github.com/adulau/DomainClassifier.git
synced 2024-12-22 16:45:59 +00:00
fix: [DomainClassifier] set optional dns port
This commit is contained in:
parent
f933e531cb
commit
115c48f65c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Extract:
|
|||
self.rawtext = rawtext
|
||||
self.presolver = dns.resolver.Resolver()
|
||||
self.presolver.nameservers = nameservers
|
||||
self.presolver.port = 53
|
||||
self.presolver.port = port
|
||||
self.presolver.lifetime = 1.0
|
||||
self.bgprankingserver = 'pdns.circl.lu'
|
||||
self.vdomain = []
|
||||
|
|
Loading…
Reference in a new issue