mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-22 19:29:24 +01:00
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:
parent
261fba4f6e
commit
5e0a611c4d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user