5 ms·
> what do you do if your ISP changes your IP addresses? I update the DNS record. Manually. It's a once in a blue moon thing, and I assume the probability of it
by deathanatos 2y ago
> what do you do if your ISP changes your IP addresses?
I update the DNS record. Manually. It's a once in a blue moon thing, and I assume the probability of it is low enough that it will not occur when I'm so far from home that "it can wait until I get home" doesn't suffice.
15+ years or so now, and that strategy has worked just fine.
… TFA's intro could do with explaining why the IP is so hard coded in the cluster, or in the router? My home router just does normal port-forwarding to my home cluster. My cluster … doesn't need to know its own IP? It just uses normal Ingress objects. (And ingress-nginx.) I'm wondering if this is partly complexity introduced by having a |cluster| > 1, and I'm just on duck tales here. Y'all have multiple non-mobile machines? (I have a desktop & a laptop. I'm not running k8s on the laptop… because it's a laptop. I … suppose I could … and deal with connectivity to the desktop with like Wireguard or something but … why?)
My previous ISP offered static IP addresses, and I had one, since I had a somewhat special offer where the price wasn't terrible. It changed on me one day. They refused to fix that. I was very disappointed.
- _cenw 2y ago> Manually. It's a once in a blue moon thing, and I assume the probability of it is low enough that it will not occur when I'm so far from home that "it can wait until I get home" doesn't suffice. It's very common here (germany) to be forcefully disconnected and reassigned an IP from the pool once a day here, especially on DSL contracts - and we still got a lot of vectored to the limit DSL. It's in fact so common, that JDownloader has a client for some common routers built-in so it can automatically dodge one-click-hoster IP limits. And our cable internet companies all use CGNAT by now, good luck getting anything through that.
- kukkamario 2y agoMikroTik has dynamic DNS that is based on random unique number for their router. I just point my DNS record to that dynamic DNS address and everything just works.
- rmwaite 2y agoeero also offers this, but only if you pay for their Plus subscription.
- storrgie 2y agoPotentially they are doing some hairpin rules that require specific enumeration?
- mystified5016 2y agoMy ISP lets me have an IP for as long as my ONT is online. If it reboots, I'm likely to get a new address if it's offline long enough. So my ONT is on a UPS. We only get power outages once or twice a year, but I havent had my IP change in two years now. And yeah, when it changes I just go into my DNS and update the records. It's like a five minute job. I could probably automate it if I cared to figure out Hover's API. It'd take probably a dozen resets to get a return on that time investment so I just haven't bothered. I'm not sure if this is a regular feature of fiber networks or just that my ISP is nice. So much better than DOCSIS when I'd randomly get booted off and given a new address.
- taskforcegemini 2y agomost likely not DOCSIS related, as my ISP behaves with it just like you described your current ISP
- vegarde 2y agoOP here. Yeah, I don't expect this to really change, either, in normal operations. But I'm a home user, I don't pay for a static IP address or a static IPV6 prefix. But I'm a geek/hacker by heart, so curiosity sometimes get to me. I did it because there was things to learn from it.
- vegarde 2y agoAuthor here. A few decades in IT, but still like to learn new things at home. I do port forwarding for IPv4. But port forwarding on IPv6? You must be kidding me, the /56 I get from my ISP is meant to be used on the inside. It hasn't changed yet, and maybe it never will. I am running Unifi as router, and they are claiming that the prefix IDs assigned to the networks won't change. But I have had it happen - probably through my own fault. Wish I could just hardcode the prefix. As for the metalLB IP addresses, since writing this I have done away with hardcoding the actual IP addresses and just let the pool assign them. It still means I need to update the firewall rules on my router, though, should they change. And my metalLB range would of course need to be updated. The IPv4 is still hardcoded due to the port forwarding, and since it's private space that I won't change anyhow. As for why I don't do it manually, you must be kidding me. You are. reading hacker news, and you question why people tinker with complex automations and just don't do it manually? Because I can of course, and that's the only reason I need. I like to pretend like my home network matter, that I run a mission critical service. I run services at home. Multiple. Because I can, and I like to learn. The blog runs at home, of course, even though hosted blog services have existed for years now. I also run Nextcloud. It saves me the cost of extra storage on Dropbox and/or Google Cloud, I do it to my home network instead. Then there's plex, home assistant plus all the other services a geek would like to run. They all run in my K8s cluster now. I was served well by docker for years, but I wanted to test K8s, and that was the only reason I needed. And a cluster? Well, it's called that in Kubernetes. But in reality, it's only one node. Because two would be overkill for home usage. To sum it up: I did it because 1) I wanted to 2) I could 3) I would learn something from it 4) It would give a modest benefit. It's all the reason I needed to. As for why automating things I could do it manually should it happen, see 1, 2, 3 and 4 above.