I’ve had a cron job updating my IP every night at midnight for a decade plus. Never once had an issue.
ampersandrew@lemmy.world 8 hours ago It does sound exactly like this. However, I’m concerned about following these instructions when my external IP isn’t static. I still have yet to set up DDNS (I believe is the term, for automatically updating my domain’s DNS servers with whatever new IP address my ISP gave me), but this looks like it’s entirely IP driven.
Bakkoda@lemmy.world 3 hours ago
ampersandrew@lemmy.world 3 hours ago Yeah, it’s on my to-do list for my domain registrar, but the above was in relation to OPNsense configuration, which I found a solution for.
plateee@piefed.social 4 hours ago You could either set up DNS overrides on your inwards facing DNS server, leaving external resolution to something like cloudflare (with DDNS), or you have a second internal domain for internal resolution.
I chose the latter for my homelab - it’s
service.lan.fqdninside andservice.fqdnon the outside. Since I use a wildcard cert, it’s still protected with TLS if I access it internally or externally.
thurstylark@lemmy.today 8 hours ago
DNS is just gonna be like that, I’m afraid. Unless there’s some other mechanism I’m not aware of, either updating your IP in your records or having a Dynnamic DNS setup is gonna be necessary.
I’m lucky enough that my ISP has a relatively long lease time and doesn’t care to change my IP a lot, so I don’t really mind updating mine manually the few times a year that becomes necessary.