Hacker News new | ask | show | jobs
by hddherman 1458 days ago
> But if you are like me and your Raspberry Pi is sitting behind your router's firewall, you can't use this approach as your IP-address is changing all the time.

If your DNS provider has an easily usable API, you can set up something that checks your current public ipv4/v6 address and changes the DNS record if the IP address changes. You just need to set the DNS TTL to something smaller, such as 1 hour or less, to limit the impact of a changing IP address.

1 comments

I didn’t know that was possible, I’ll have a look at it :)
I've used this in the past: https://hub.docker.com/r/oznu/cloudflare-ddns/

Cloudflare is a nice option.

I’ve used http://www.duckdns.org/ with a raspi for this purpose.