You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mh...@apache.org on 2019/11/05 21:11:18 UTC

[openwhisk-apigateway] branch dns-resolution-fix created (now 4a8fe71)

This is an automated email from the ASF dual-hosted git repository.

mhamann pushed a change to branch dns-resolution-fix
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git.


      at 4a8fe71  Disable ipv6 during DNS resolution

This branch includes the following new commits:

     new 4a8fe71  Disable ipv6 during DNS resolution

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[openwhisk-apigateway] 01/01: Disable ipv6 during DNS resolution

Posted by mh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mhamann pushed a commit to branch dns-resolution-fix
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git

commit 4a8fe71f01497354db774cfa1325801db5aea3bc
Author: Matt Hamann <ma...@gmail.com>
AuthorDate: Tue Nov 5 16:11:12 2019 -0500

    Disable ipv6 during DNS resolution
---
 init.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.sh b/init.sh
index 6fcc7a4..2579e62 100755
--- a/init.sh
+++ b/init.sh
@@ -55,7 +55,7 @@ api-gateway-config-supervisor \
     --sync-cmd="${sync_cmd}" \
     --http-addr=127.0.0.1:8888 &
 
-echo resolver $(awk 'BEGIN{ORS=" "} /^nameserver/{print $2}' /etc/resolv.conf | sed "s/ $/;/g") > /etc/api-gateway/conf.d/includes/resolvers.conf
+echo resolver $(awk 'BEGIN{ORS=" "} /^nameserver/{print $2}' /etc/resolv.conf | sed "s/ $/ ipv6=off;/g") > /etc/api-gateway/conf.d/includes/resolvers.conf
 echo "   ...  with dns $(cat /etc/api-gateway/conf.d/includes/resolvers.conf)"
 
 echo "   ... testing configuration "