News for hackers. Stuff that matters.
Re:RFC 9518 – What can internet standards do about centralis... by california-og on Tuesday December 19, 2023 @08:31AM (#38695271)
Can you explain or give advice on how one would self-host?

In my country none of the main ISPs offer static IPs. They're only available to businesses.

Self-hosting with a dynamic IP seems difficult if not impossible. There are some dynamic DNS services but that kinda defeats the self-hosted part.

Re:RFC 9518 – What can internet standards do about centralis... by billpg on Tuesday December 19, 2023 @12:25PM (#38698501)
I tried this two decades ago. We just had broadband for the first time and I installed some web service application on my Windows PC. My ISP had what appeared to be a static IP so I manually set up a free DNS service with that IP. The experiment didn't last long enough for the IP to change but I did learn it did because long after I took the service down, my domain was pointing to someone else's IP.

It what I now realise was a bad idea, I was writing code by web server code using C with CGI. I was supposed to use Perl, but I didn't want to spend time learning that as I already knew C.

Re:RFC 9518 – What can internet standards do about centralis... by tenebrisalietum on Tuesday December 19, 2023 @09:27AM (#38695876)
> Self-hosting with a dynamic IP seems difficult if not impossible

You just need something on your network that monitors your IP and updates your DNS when your home IP changes. "Dynamic DNS Update Client" yields results in Google that will be a good start to understanding.

> There are some dynamic DNS services but that kinda defeats the self-hosted part.

No, selfhosting at home doesn't mean you have to host a public DNS server. You will definitely need some external DNS pointing to your home network. There are multiple free providers.

Re:RFC 9518 – What can internet standards do about centralis... by _factor on Tuesday December 19, 2023 @11:35AM (#38697769)
You will still need a static IP for SMTP. Dynamic IP assignment and NAT traversal are the largest hurdles to self-hosting reliably. DNS updates are great, but then you're still relying on a large centralized DNS provider. You can host nameservers yourself, but then you're back to the Static IP issue.
Re:RFC 9518 – What can internet standards do about centralis... by layer8 on Tuesday December 19, 2023 @06:53PM (#38703646)
You have to rely on a registrar for your domain name anyway. For everything else, a cheap VPS with a static IP is easy to manage and can delegate to your homeserver behind the scenes. The VPS also can be easily replaced by a different one when needed just by managing the DNS entries.
Re:RFC 9518 – What can internet standards do about centralis... by ThinkBeat on Thursday December 21, 2023 @06:05PM (#38728356)
Self hosting SMTP servers is downright impossible these days. The big Google, Yahoo, Microsoft, and others "fight spam" / competition by black listing little known SMTP servers.

If you try to do it from a VPS, they have usually blocked entire segments of the companies IPs. (Because someone, a lot of someones came before you)

There are good reasons to right spam. But the efforts of the biggie names are forcing people to use their services. (Its free after all right)

Re:RFC 9518 – What can internet standards do about centralis... by nearlyepic on Tuesday December 19, 2023 @06:33PM (#38703484)
The best way I've found to get around the DNS problem is to take a cheap VPS (I use Hetzner) and run a reverse proxy like Caddy. Then you VPN that VPS to the machine at your house.