Comment on Self hosting Sunday! What's up, selfhosters?
jol@discuss.tchncs.de 3 days agoMy ISP uses CGNAT but I can ask for a dynamic IP address for free. I sent them an email and got a reply in less than a week. I can also pay extra like 2.50€ per month or something for a fixed IP. I found that quite reasonable.
harrys_balzac@lemmy.dbzer0.com 3 days ago
I’m thinking getting a static public IP might just be the easiest way to go. I have a pretty good ISP. Aside from sticking all the customers behind CGNAT.
jol@discuss.tchncs.de 3 days ago
Namecheap, and I guess other registrars too, has an API that you can call from your server to update your IP address in their DNS. It’s super easy. No need to pay for a static IP address. At least in my case ei already use my domain for other things.
harrys_balzac@lemmy.dbzer0.com 3 days ago
I don’t understand how that’d work but I’ll look into it. Thanks for the info!
jol@discuss.tchncs.de 3 days ago
Basically it’s a URL that you call with curl. You can set up a crown job to call every day or as often as you need. The URL contains the domain name or subdomain, you dynamic public IP (not CNAT), and the API token. This way you Domain always points to your dynamic IP.