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?
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
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?
It sure is: https://github.com/MajesticTechie/CloudflareDynamicDNS
Great job! Thanks for sharing
Thanks!
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
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).