News for hackers. Stuff that matters.
Re:Upgrading my home server by exhilaration on Sunday July 21, 2019 @06:25AM (#20490709)
cheapest way is to sign up with a dynamic DNS service like http://freedns.afraid.org/ - choose a subdomain you like. Then run an agent on your server to monitor when/if your public IP changes - it will send the new IP to the dynamic DNS.

If you'd prefer a paid option that uses your own domain, then some providers like Digital Ocean expose DNS settings via API. Here's a google search to get you started: https://www.google.com/search?q=dynamic+dns+host+for+digital...

Re:Upgrading my home server by crtasm on Sunday July 21, 2019 @06:58AM (#20490783)
Afraid.org is great, note that you don't necessarily need to install any software to use it - you're given a line to paste into your crontab and it's setup. It simply wget/curls an update URL every few minutes.
Re:Upgrading my home server by amelius on Sunday July 21, 2019 @07:12AM (#20490820)
Any reason they chose "Afraid" as their name? A name is just a name, but it feels a bit offputting to use that in the address of my home server, tbh.
Re:Upgrading my home server by insertnickname on Sunday July 21, 2019 @07:25AM (#20490852)
I don't know, but they have many different domains to choose from. I'm not sure if you can even get a subdomain of afraid.org.
Re:Upgrading my home server by viraptor on Sunday July 21, 2019 @06:54AM (#20490777)
Ddns used to be a fancy thing, but these days everyone worth anything has their own API for DNS management. Providers specialising in ddns may have their own agents which make it easier, but you can also use a 3-line script to do it on route53.
Re:Upgrading my home server by Daviey on Sunday July 21, 2019 @07:04AM (#20490796)
CNAME'ing your own domain to a "dynamic DNS" provider is also an option.
Re:Upgrading my home server by predakanga on Sunday July 21, 2019 @08:56AM (#20491123)
Note that when using this approach, you shouldn't use the root domain; you can still use a subdomain with no issues though.

[0]: https://www.freecodecamp.org/news/why-cant-a-domain-s-root-b... [1]: https://blog.cloudflare.com/introducing-cname-flattening-rfc...