5 ms·
I have a small script ran by cron (well, systemd timers) every 15 minutes which checks the current IP via https://api.ipify.org/ https://api.ipify.org/ and upda
by deniska 4y ago
I have a small script ran by cron (well, systemd timers) every 15 minutes which checks the current IP via https://api.ipify.org/ https://api.ipify.org/ and updates dns entries on digital ocean (its dns service is free) if it differs from what's there.
- KronisLV 4y agoIf someone has to deal with dynamic IP addresses and wants to use dynamic DNS as well, there's also the pretty nice ddclient package: https://ddclient.net/ https://ddclient.net/ I've been using it with NameCheap pretty successfully for a while now, here's an example of some of the integrations it supports: https://ddclient.net/protocols.html https://ddclient.net/protocols.html (sadly no DigitalOcean integration as of yet, but this might be of use to others)