Gandyn

Table of Contents

1 Dynamic IP and Gandi

Using gandyn (forked by me here), it is extremely easy to have the gandi ip updated at will.
The api_key management page, must be set up to activate the production api_key.
My crontab then looks like

*/5 * * * * gandyn.py --config=gandi.conf ; konix_send_ip.sh

With konix_send_ip.sh looking like

if ! tail -1 gandyn.log |grep -q 'Nothing to do'
then
    tail gandyn.log |mail -s "ip changed" my_mail
fi

This way, if the ip change, I am notified by mail.

Author: konubinix

Created: 2015-11-01 dim. 19:07

Emacs 24.3.50.1 (Org mode 8.0.3)

Validate