From 027d78c6c97448ea315d847c02d774cb6b19d7d7 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Mon, 6 Feb 2023 12:43:46 -0500 Subject: [PATCH 1/2] Update app-server.sh Signed-off-by: 1000TurquoisePogs --- bin/app-server.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/app-server.sh b/bin/app-server.sh index 682eb6d6..8393fd33 100755 --- a/bin/app-server.sh +++ b/bin/app-server.sh @@ -198,5 +198,12 @@ if [ -n "${ZOWE_INSTANCE}" ]; then fi fi -{ __UNTAGGED_READ_MODE=V6 _BPX_JOBNAME=${ZOWE_PREFIX}DS1 ${NODE_BIN} --harmony ${ZOWE_LIB_DIR}/${ZLUX_SERVER_FILE} --config="${CONFIG_FILE}" "$@" 2>&1 ; echo "Ended with rc=$?" ; } | tee $ZLUX_NODE_LOG_FILE +ZLUX_DNS_ORDER= +if [ "$ZWE_components_app_server_dns_lookupOrder" = "ipv6" ]; then + ZLUX_DNS_ORDER="--dns-result-order=verbatim" +else + ZLUX_DNS_ORDER="--dns-result-order=ipv4first" +fi + +{ __UNTAGGED_READ_MODE=V6 _BPX_JOBNAME=${ZOWE_PREFIX}DS1 ${NODE_BIN} --harmony ${ZLUX_DNS_ORDER} ${ZOWE_LIB_DIR}/${ZLUX_SERVER_FILE} --config="${CONFIG_FILE}" "$@" 2>&1 ; echo "Ended with rc=$?" ; } | tee $ZLUX_NODE_LOG_FILE From bf41bf67d73263343a39e10cf8118f7efff69088 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Tue, 14 Feb 2023 04:45:24 -0500 Subject: [PATCH 2/2] Update app-server.sh Signed-off-by: 1000TurquoisePogs --- bin/app-server.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/app-server.sh b/bin/app-server.sh index 8393fd33..52c62b37 100755 --- a/bin/app-server.sh +++ b/bin/app-server.sh @@ -198,11 +198,9 @@ if [ -n "${ZOWE_INSTANCE}" ]; then fi fi -ZLUX_DNS_ORDER= +ZLUX_DNS_ORDER="--dns-result-order=ipv4first" if [ "$ZWE_components_app_server_dns_lookupOrder" = "ipv6" ]; then ZLUX_DNS_ORDER="--dns-result-order=verbatim" -else - ZLUX_DNS_ORDER="--dns-result-order=ipv4first" fi { __UNTAGGED_READ_MODE=V6 _BPX_JOBNAME=${ZOWE_PREFIX}DS1 ${NODE_BIN} --harmony ${ZLUX_DNS_ORDER} ${ZOWE_LIB_DIR}/${ZLUX_SERVER_FILE} --config="${CONFIG_FILE}" "$@" 2>&1 ; echo "Ended with rc=$?" ; } | tee $ZLUX_NODE_LOG_FILE