New IP resolver

This commit is contained in:
Timothy Allen 2015-07-08 10:29:53 +02:00
parent 0bd594e311
commit cc209f6e47

View File

@ -6,7 +6,7 @@ zone=dyn.example.com
host=desktop host=desktop
secret="" secret=""
ip=$(wget -q -O - http://alma.ch/myip.cgi) ip=$(wget -q -O - http://treehouse.org.za/ip)
if [ -z ${ip} ] || [ -z ${cache} ]; then if [ -z ${ip} ] || [ -z ${cache} ]; then
exit; exit;