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 * * * * --config=gandi.conf ;

With looking like

if ! tail -1 gandyn.log |grep -q 'Nothing to do'
    tail gandyn.log |mail -s "ip changed" my_mail
Null message body; hope that's ok

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

Author: konubinix

Created: 2019-03-06 Wed 15:34

Emacs (Org mode 8.0.3)