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

Selfhosted

40173 readers
963 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 1 year ago
MODERATORS
 

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
[–] majestictechie@lemmy.fosshost.com 3 points 1 year ago* (last edited 1 year ago) (1 children)

If this is for DynamicDNS, I host my DNS at cpiudflare for my domain and use a script which performs a lookup every 15 mins. It uses CF's API to then update the record if it changes.

For DNS resolution, I use pi hole quad9 resolvers

Edit: sorry, just re-read and realised your talking about DNS hosting for a domain. honestly I use my Cloudflare or my domain provider. Given a single IP is a point of failure, it makes sense to have multiple NS on different networks/IPs. You also have to take into account Glue records and while not required, reverse DNS is also good. If you have Dynamic IPs it's not worth it since glue records will need changing and those are manual each time

[–] camilobotero@feddit.dk 1 points 1 year ago (3 children)

I have a dynamic IP, and it’s being a pain in the @$$ for me. I simply cannot use my domain to access my home server because of this.

Is your script available on GitHub or similar platforms?

[–] bdonvr@thelemmy.club 2 points 1 year ago

I manage my domain's DNS with Cloudflare and then have cf-ddns running on my home server. It checks my IP regularly and updates the DNS record

[–] shnizmuffin@lemmy.inbutts.lol 1 points 1 year ago

Because I don't care to roll my own Perl DOCKERFILE, I use a LinuxServer.io Container running ddclient.

It handles the scripting, you set up the config (with a supported DNS provider).