ostridge
Guru
- Joined
- Jan 22, 2015
- Messages
- 1,813
- Reaction score
- 625
I added a crontab e for update of my freedns.afraid.org IP as afraid instructions and on one line.
Now I need to write a further crontab or bash script to get my ISP's rdns
Now how to get that into (1st line of) /etc/hosts
oh must be bed time!!!
Code:
2,7,12,17,22,27,32,37,42,47,52,57 * * * * sleep 54 ; wget -O - http://freedns.afraid.org/dynamic/update.php?[MD5hash] >> /tmp/freedns_svr_sub_dom_tld.log 2>&1 &
Now I need to write a further crontab or bash script to get my ISP's rdns
Code:
host 1.2.3.4 #host myIP
4.3.2.1.in-addr.arpa domain name pointer 4.3.2.1.dyn.plus.net.
Code:
127.0.0.1 4.3.2.1.dyn.plus.net pi2.sub.dom.tld pi2 pi2.jb.local localhost localhost.localdomain localhost4 localhost4.localdomain4 IncrediblePBX.local
oh must be bed time!!!