Kubernetes Home – what do you do if your ISP changes your IP addresses?
Published on: 2025-06-22 16:29:46
Kubernetes@Home – what do you do if your ISP changes your IP addresses?
In my last blog post I described external-DNS, which is a way to have Kubernetes create and update DNS entries for its services. But as I mentioned, it got me thinking a bit on ways to extend this concept to handle other external aspects of my Kubernetes environment.
My ISP is in total control over my external IP addresses. I don’t pay for permanent IP addresses, and while they haven’t so far changed neither my IPv4 address or my IPv6 network, it can happen. Probably by mistake, since I have no kept my current ones for three months.
But accidents happen, and usually at the worst possible time, so can I be prepared for it?
Of course I can. However, it did require a bit of programming!
Firewall
My firewall at home is a Unifi Cloud Gateway Max, which I’m pretty happy with so far.
My firewall policy for IPv4 is pretty simple, it’s port forwarding on a single external IP to private addresses externally.
For IPv6
... Read full article.