39

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?

you are viewing a single comment's thread
view the rest of the comments
[-] lemmyvore@feddit.nl 11 points 1 year ago* (last edited 1 year ago)

Do not host your own DNS nameserver if you don't know what you're doing. It can and will be abused into all kinds of DNS attacks.

See if your registrar offers a DDNS service. Alternatively if they offer an API you can update the record yourself with a script, or use a DDNS container app, or use a DDNS plugin for OpenWRT etc.

You can also separate the nameserver service from your registrar, like you've been doing with Hetzner, but you don't have to host it, there are ready-made DNS services.

One very good service which is free and has an API is deSEC.io. It's also been around for a while and is supported out of the box in most DDNS tools, and it's run by a German organization with a focus on privacy.

The catch with deSEC ID that they require you to enable DNSSEC, because their mission is similar to Let's Encrypt — to promote the use of secure DNS. It's not hard to enable DNSSEC, they generate and maintain all the records for you, naturally, but you'll have to enable it manually at the registrar, and remember to disable it temporarily during transfers.

Another good DNS service (with API) that comes down to $1/mo and also includes CDN services is bunny.net.

this post was submitted on 13 Nov 2023
39 points (97.6% liked)

Selfhosted

40407 readers
392 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS