def __init__(self, primaryIP, domain):
        """
        @param domain: The domain for which this will be the secondary
            authority.
        @type domain: L{bytes}
        """
        # Yep.  Skip over FileAuthority.__init__.  This is a hack until we have
        # a good composition-based API for the complicated DNS record lookup
        # logic we want to share.
        common.ResolverBase.__init__(self)
        self.primary = primaryIP
        self.domain = domain

        @param domain: The domain for which this will be the secondary
            authority.
        @type domain: L{bytes}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/secondary.py