243244245246247248249250251252253
} } hdr = new Header(msg, msg.length); if (auth && !hdr.authoritative) { caughtException = new NameNotFoundException( "DNS response not authoritative"); doNotRetry[i] = true; continue; } }
706707708709710711712713714715716
switch (rcode) { case SERVER_FAILURE: throw new ServiceUnavailableException(msg); case NAME_ERROR: throw new NameNotFoundException(msg); case NOT_IMPL: case REFUSED: throw new OperationNotSupportedException(msg); case FORMAT_ERROR: default: