My IP address has changed on Sun., June 8, 2014 per ISP auto renewal every weekday 0 (Sunday)
I can no longer access my b3 by is username.myownb3.com DNS record
Code: Select all
grep '^ip' /etc/network/easyfind.conf | awk {'print $3'}
store my current IP address since yesterday
output today the same IP address
I've added a cronjob to run every weekday on Monday (day 1) at half past twelve (12:30)
Code: Select all
30 12 * * 1 /home/username/bin/checkip.sh >/dev/null 2>1
Jun 9 12:30:01 b3 /USR/SBIN/CRON[19713]: (username) CMD (/home/username/bin/checkip.sh >/dev/null 2>&1)
username.myownb3.com dynamic DNS name was not renewed.
when script was run today "$old_ip" EQUAL "$new_ip"
easyfind.conf updated on Sunday with my new IP address assigned by ISP
-rw-r--r-- 1 root root 57 Jun 8 12:29 /etc/network/easyfind.conf
but username.myownb3.com DNS record not updated (it's the issue i have from the start).
username is a placeholder to my real name
as reported by
Gordon wrote:
What I found some time ago, and noted in that other topic, is that the update routine updates the local record of the easyfind address regardless of whether the update actually succeeds. The cron driven routine as shown by wm.bubba in this topic in fact appears to do the same.
If you decide to adopt that script to run in large intervals (i.e. 1 hour or more) I'd therefore suggest that you do not simply verify against a local record of the IP you think is associated with your easyfind name, but in fact do a host lookup. Preferably do that lookup directly at the Excito DNS servers, as it can take some time for updates to be rolled to other DNS servers on the internet.
How to apply the other suggested method (host lookup)?