I’ve been using Hetzner for some time, but now I want to host everything myself at home.

DNS was easy with Hetzner, just point the domain to Hetzner’s nameservers, and from there to my server.

How are people doing this for home servers? When there’s not access to something like Hetzner’s nameservers.

Is there a free/cheap nameserver I can use to point at my home server’s IP?

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    There might be a service in cloudflare that does that - but I’m not aware of it. DNS in cloudflare requires an IP to proxy to, and you would need something (hosted by cloudflare on your rpi theoretically) that then would notify cloudflare that your IP has changed - otherwise cloudflare won’t know where it’s proxying from.

    Cloudflare isn’t DNS, it’s a proxy that sits in the middle. (Okay it also does DNS, but I mean it’s not just routing traffic). Essentiall all cloudflare does is

    • User queries DNS for yourdomain.com
    • DNS returns cloudflare’s IP address
    • Cloudflare sees the request, and then asks your server’s IP address for the data
    • Once cloudflare receives the data from your server, it will pass it up to the user.

    I’m simplifying a lot but that’s the gist. But if your IP changes then cloudflare doesn’t know where to get your data.