Hacker News new | ask | show | jobs
by deniska 1326 days 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/ and updates dns entries on digital ocean (its dns service is free) if it differs from what's there.
1 comments

If 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/

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 (sadly no DigitalOcean integration as of yet, but this might be of use to others)