hey guys, check out if you need a dynamic IP domain. People share their domains and it's run by a freemium model.
It's essentially dynDNS with a lot of other stuff but for nerds. Not Necessarily only for dynamic IPs
you can manipulate CNAME, A, AAAA, MX, NS, TXT, LOC, RP, HINFO, SRV records
There is also support for IP6.
of course you will need a way to update the servers with your new IP. I personally use inadyn for this.
It's a neat deamon written in C.
here's an example config script for inadyn:
--dyndns_system [email protected]
i save this as inadyn.conf
and run the daemon:
./inadyn --input_file /path/to/inadyn.conf
if you've installed inadyn from the repos you obviously don't need the './' bit as it will already be in $PATH
your authentication string is found under the 'Dynamic DNS' submenu, in the 'Direct URL' URL (copy everything after the '?')
with this pygar.chickenkiller.com resolves to my dynamic IP. You can register for other domains on their website (through the subdomains submenu).
check inadyn.log for success or failure.
putting it in crontab
to launch inadyn and boot put this in crontab (EDITOR=vim crontab -e)
@reboot /path/to/execuatable/inadyn --input_file /path/to/inadyn.conf
to check if it's running every ten minutues, also put this in crontab (save it as inadyn.check).
PROCESSCOUNT=$(ps -ef |grep -v grep |grep -cw inadyn)
if [ $PROCESSCOUNT -eq 2 ]
/path/to/exec/inadyn --input_file /path/to/inadyn.conf
*/10 * * * * /path/to/inadyn.check