def gotResolverError(self, failure, protocol, message, address):
        '''
        Copied from twisted.names.
        Removes logging the whole failure traceback.
        '''
        if failure.check(dns.DomainError, dns.AuthoritativeDomainError):
            message.rCode = dns.ENAME
        else:
            message.rCode = dns.ESERVER
            log.msg(failure.getErrorMessage())

        self.sendReply(protocol, message, address)
        if self.verbose:
            log.msg("Lookup failed")