(self,address,port,ttl,intercept,skip,nxdomain,timeout=0)
address/port    - upstream server
            ttl             - default ttl for intercept records
            intercept       - list of wildcard RRs to respond to (zone format)
            skip            - list of wildcard labels to skip 
            nxdomain        - list of wildcard labels to retudn NXDOMAIN
            timeout         - timeout for upstream server
address/port    - upstream server
            ttl             - default ttl for intercept records
            intercept       - list of wildcard RRs to respond to (zone format)
            skip            - list of wildcard labels to skip 
            nxdomain        - list of wildcard labels to retudn NXDOMAIN
            timeout         - timeout for upstream server
address / port - upstream server ttl - default ttl for intercept records intercept - list of wildcard RRs to respond to ( zone format ) skip - list of wildcard labels to skip nxdomain - list of wildcard labels to retudn NXDOMAIN timeout - timeout for upstream server
def __init__(self,address,port,ttl,intercept,skip,nxdomain,timeout=0):
        """
            address/port    - upstream server
            ttl             - default ttl for intercept records
            intercept       - list of wildcard RRs to respond to (zone format)
            skip            - list of wildcard labels to skip 
            nxdomain        - list of wildcard labels to retudn NXDOMAIN
            timeout         - timeout for upstream server
        """
        self.address = address
        self.port = port
        self.ttl = parse_time(ttl)
        self.skip = skip
        self.nxdomain = nxdomain
        self.timeout = timeout
        self.zone = []
        for i in intercept:
            if i == '-':
                i = sys.stdin.read()
            for rr in RR.fromZone(i,ttl=self.ttl):
                self.zone.append((rr.rname,QTYPE[rr.rtype],rr))
def __init__ ( self , address , port , ttl , intercept , skip , nxdomain , timeout = 0 ) : self . address = address self . port = port self . ttl = parse_time ( ttl ) self . skip = skip self . nxdomain = nxdomain self . timeout = timeout self . zone = [ ] for i in intercept : if i == '-' : i = sys . stdin . read ( ) for rr in RR . fromZone ( i , ttl = self . ttl ) : self . zone . append ( ( rr . rname , QTYPE [ rr . rtype ] , rr ) )