'Check if the query should be answered dynamically, otherwise dispatch to
the fallback resolver.'

def query(self, query, timeout=None):

    if self._dynamicResponseRequired(query):
        return defer.succeed(self._doDynamicResponse(query))
    else:
        return defer.fail(error.DomainError())
