'Record the given arguments and return a Deferred which will not be
called back by this code.'

def query(self, address, queries, timeout=10, id=None):

    result = defer.Deferred()
    self.queries.append((address, queries, timeout, id, result))
    return result
