notifly/server.py
def health_check(self, request, addr):
        """
        keeps DNSDIST happy
        Forward query to system resolvers (upstream)
        send resolver answer downstream
        """
        res = dns.resolver.Resolver(configure=True)
        health_query = res.query(request.origin, request.rdtype)
        health_resp = health_query.response
        health_resp.id = request.query_id
        self.transport.sendto(health_resp.to_wire(), addr)

        keeps DNSDIST happy
        Forward query to system resolvers (upstream)
        send resolver answer downstream
        
keeps DNSDIST happy
Forward query to system resolvers (upstream)
send resolver answer downstream
keeps DNSDIST happy Forward query to system resolvers ( upstream ) send resolver answer downstream
def health_check(self, request, addr):
        res = dns.resolver.Resolver(configure=True)
        health_query = res.query(request.origin, request.rdtype)
        health_resp = health_query.response
        health_resp.id = request.query_id
        self.transport.sendto(health_resp.to_wire(), addr)
def health_check ( self , request , addr ) : res = dns . resolver . Resolver ( configure = True ) health_query = res . query ( request . origin , request . rdtype ) health_resp = health_query . response health_resp . id = request . query_id self . transport . sendto ( health_resp . to_wire ( ) , addr )
keeps DNSDIST happy
Forward query to system resolvers (upstream)
send resolver answer downstream
keeps DNSDIST happy Forward query to system resolvers ( upstream ) send resolver answer downstream
"""
        keeps DNSDIST happy
        Forward query to system resolvers (upstream)
        send resolver answer downstream
        """
self
request
addr