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.
This commit is contained in:
Aminda Suomalainen 2015-06-01 22:18:42 +03:00
parent 261fba4f6e
commit 5e0a611c4d
1 changed files with 1 additions and 1 deletions

View File

@ -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