Skip to content

Commit 2a2fc4a

Browse files
committed
add monitor
1 parent c887e3e commit 2a2fc4a

6 files changed

Lines changed: 292 additions & 448 deletions

File tree

bin/dnsserver.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ def __call__(self, failure):
5454

5555

5656
class MapResolver(client.Resolver):
57-
def __init__(self, Finder, Amapping, AmappingBlacklist, NSmapping, SOAmapping, servers):
57+
def __init__(self, Finder, Amapping, NSmapping, SOAmapping, servers):
5858
self.Finder = Finder
5959
self.Amapping = Amapping
60-
self.AmappingBlacklist = AmappingBlacklist
6160
self.NSmapping = NSmapping
6261
self.SOAmapping = SOAmapping
6362
client.Resolver.__init__(self, servers=servers)
@@ -78,7 +77,6 @@ def packResult( value ):
7877
ret = []
7978
add = []
8079
for x in value:
81-
if x in self.AmappingBlacklist: continue
8280
ret.append(dns.RRHeader(name, dns.A, dns.IN, ttl, dns.Record_A(x, ttl), True))
8381

8482
if edns is not None:

bin/icmp.py

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)