From d3c0e2fc11102806a0737f0c468d494c7f35059c Mon Sep 17 00:00:00 2001 From: andryyy Date: Mon, 1 Mar 2021 10:21:53 +0100 Subject: [PATCH] Temp remove ip6.korves.net --- data/Dockerfiles/acme/functions.sh | 3 +-- data/Dockerfiles/watchdog/watchdog.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/data/Dockerfiles/acme/functions.sh b/data/Dockerfiles/acme/functions.sh index 454946dc..ec6d58f4 100644 --- a/data/Dockerfiles/acme/functions.sh +++ b/data/Dockerfiles/acme/functions.sh @@ -46,8 +46,7 @@ get_ipv6(){ local IPV6= local IPV6_SRCS= local TRY= - IPV6_SRCS[0]="ip6.korves.net" - IPV6_SRCS[1]="ip6.mailcow.email" + IPV6_SRCS[0]="ip6.mailcow.email" until [[ ! -z ${IPV6} ]] || [[ ${TRY} -ge 10 ]]; do IPV6=$(curl --connect-timeout 3 -m 10 -L6s ${IPV6_SRCS[$RANDOM % ${#IPV6_SRCS[@]} ]} | grep "^\([0-9a-fA-F]\{0,4\}:\)\{1,7\}[0-9a-fA-F]\{0,4\}$") [[ ! -z ${TRY} ]] && sleep 1 diff --git a/data/Dockerfiles/watchdog/watchdog.sh b/data/Dockerfiles/watchdog/watchdog.sh index 1e7c2f49..aab0ce8b 100755 --- a/data/Dockerfiles/watchdog/watchdog.sh +++ b/data/Dockerfiles/watchdog/watchdog.sh @@ -44,8 +44,7 @@ get_ipv6(){ local IPV6= local IPV6_SRCS= local TRY= - IPV6_SRCS[0]="ip6.korves.net" - IPV6_SRCS[1]="ip6.mailcow.email" + IPV6_SRCS[0]="ip6.mailcow.email" until [[ ! -z ${IPV6} ]] || [[ ${TRY} -ge 10 ]]; do IPV6=$(curl --connect-timeout 3 -m 10 -L6s ${IPV6_SRCS[$RANDOM % ${#IPV6_SRCS[@]} ]} | grep "^\([0-9a-fA-F]\{0,4\}:\)\{1,7\}[0-9a-fA-F]\{0,4\}$") [[ ! -z ${TRY} ]] && sleep 1