Skip to content

Commit

Permalink
Merge pull request #250 from zowe/bugfix/v1/fix-ipv4
Browse files Browse the repository at this point in the history
 Force ipv4 dns lookup for app-server
  • Loading branch information
1000TurquoisePogs authored Apr 11, 2023
2 parents 6b54b5a + bf41bf6 commit da452f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/app-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,10 @@ 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="--dns-result-order=ipv4first"
if [ "$ZWE_components_app_server_dns_lookupOrder" = "ipv6" ]; then
ZLUX_DNS_ORDER="--dns-result-order=verbatim"
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

0 comments on commit da452f3

Please sign in to comment.