dtdnsbash is an update client (https://www.dtdns.com/dtsite/updateclients) which updates your dynamic ip on https://www.dtdns.com/ to a given hostname.
- bash
- grep
- awk
- ifconfig
- nslookup
- openbsd-netcat
The best way to use dtdnsbash is to start the script in a screen session. Simply install screen and execute the following.
> screen -S dtdns
> bash dtdnsbash.sh <interface> <hostname> <update.intervall.in.seconds>
As an example when your external interface is eth0 and your hostname is blabla.blabla.com and your dynamic ip will change every hour you can use this command > bash dtdnsbash.sh eth0 blabla.blabla.com 3600
After start you have to type your password and the update will update every hour. To bring the process in background you can hit
> screen CTRL+a d
When you login again on your server you can re-attach your screen session with
> screen -r dtdns