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