Contributed by: masodo on Monday, August 13 2018 @ 11:08 am UTC
Last modified on
Getting shut out of your your own home is certainly disconcerting (to say the least.) If you frequently connect to your home's network infrastructure from the outside world you'd like to think it will be there when you need it.
For many many years I had relied on Darktech.org to track my local network as InfinitelyRemote.DtDNS.net; which was working splendidly right up to the point when they "pulled the plug" on the service. Luckily my IP address had not changed for quite a while so I was still able to stay connected by directly accessing 99.32.165.173. It was while investigating the loss of service that I discovered a single tweet on the subject posted by Tru Huynh @huynh_tru dated July 2 that said simply: thank you and farewell #dtdns (https://www.dtdns.com DtDNS will be ceasing operations on August 1, 2018.)
thank you and farewell #dtdns[*1] (https://t.co/1qwrlHIy1f[*2] DtDNS will be ceasing operations on August 1, 2018.)
— Tru Huynh (@huynh_tru) July 2, 2018[*3]
#!/bin/bash
#
rm -f myip*
#
wget -q www.deburger.com/myip
#
IPADDR=`/bin/grep "." myip | /bin/awk '{ print $1 }'`
#
LASTIP=`/usr/bin/nslookup -sil infinitelyremote.dynu.net ns1.dynu.com | /bin/grep -A1 infinitelyremote.dynu.net | /bin/grep Address: | /bin/awk '{ print $2 }'`
#
UPDATE="wget -O - http://api.dynu.com/nic/update?myip=$IPADDR&username=<MyUserName>&password=<MyPassword_MD5-hash>"
if [ "$IPADDR" != "$LASTIP" ]; then
$UPDATE
echo "`date` - Posted IP change from $LASTIP to $IPADDR" >> /usr/local/sbin/IP_basher_log
else
echo "`date` - IP still $IPADDR" >> /usr/local/sbin/IP_basher_log
fi
TLDR: There was precious little reporting about the demise of DtDNS so I thought I would help spread the news. I look forward to many years with DYNU and only hope if they decide to go away they might give a little more of a "heads-up" than we got from the other guy.