def handleQuery(self, message, protocol, address):
        """
        Copied from twisted.names.
        Adds passing the address to resolver's query method.
        """
        query = message.queries[0]
        d = self.resolver.query(query, address)
        d.addCallback(self.gotResolverResponse, protocol, message, address)
        d.addErrback(self.gotResolverError, protocol, message, address)
        return d