public int
getResult() {
	checkDone();
	return result;
}
Returns the result code of the lookup.
@return The result code, which can be SUCCESSFUL, UNRECOVERABLE, TRY_AGAIN,
HOST_NOT_FOUND, or TYPE_NOT_FOUND.
@throws IllegalStateException The lookup has not completed.
src/main/java/core/org/xbill/DNS/Lookup.java