From d3676466fafa22118b75a728bdc000f4b5a4ed8b Mon Sep 17 00:00:00 2001 From: The_Spider Date: Sun, 17 Jan 2021 15:35:26 +0000 Subject: [PATCH] Update 'build-deluge.jenkins' dns ip validation needs to be forced to use ipv4 --- build-deluge.jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-deluge.jenkins b/build-deluge.jenkins index de16300..ca3092b 100644 --- a/build-deluge.jenkins +++ b/build-deluge.jenkins @@ -57,7 +57,7 @@ if [[ -z "\${DDNS_HOST}" ]] || [[ "\${DDNS_HOST}" == "" ]]; then exit 100 fi -DIP=\$(dig @ns1.google.com TXT o-o.myaddr.l.google.com +short | sed -e 's/"//g') +DIP=\$(dig -4 @ns1.google.com TXT o-o.myaddr.l.google.com +short | sed -e 's/"//g') if [[ -z "\${DIP+x}" ]] || [[ "\${DIP}" == "" ]]; then printf '%s\\n' "Unable to detect real-world IP." exit 100