From 5e0a611c4d8ed06024b858e6787c712eca9cdc48 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 1 Jun 2015 22:18:42 +0300 Subject: [PATCH] ydns-simple: specify A record with IPv4 I am not sure if this is needed, but why not just in case the default behaviour changes in distant future. --- bash/ydns-simple | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/ydns-simple b/bash/ydns-simple index 76f4095..b685692 100755 --- a/bash/ydns-simple +++ b/bash/ydns-simple @@ -18,7 +18,7 @@ PASSWORD="" HOSTNAME="" # Get IPv4 address -WAN_IP4=$(dig +short myip.opendns.com. @208.67.220.220) +WAN_IP4=$(dig +short myip.opendns.com. A @208.67.220.220) if [ -f $HOME/.wan_ip4-ydns.txt ]; then OLD_WAN_IP4=$(cat $HOME/.wan_ip4-ydns.txt) else