I just want to point out that you want a DNS server that supports dynamic IP updating. Not a registrar. The registrar isn't necessarily your nameserver. The two are different things. Might help with your search.
Thank you, but I'm using a paid domain that needs yearly fees in order to remain mine. A separate dns server would probably work, but I would rather make one payment instead of two.
Have a look at Dynv6. They support delegation from your registrar and dyndns by several different means.
For free, duckdns.org
For a little money (of buying a domain name), Cloudflare
Both have apps, scripts, API, docker containers etc. to dynamically update. And a web interface, obviously.
Check out porkbun, they have cheap prices and an API that's supported by ddclient.
porkbun
Interesting. Would you say that porkbun is a good candidate for setting up a PiHole + Wireguard VPN at home?
I think choosing a domain registrar with DynDNS support has very little to do with setting up PiHole and Wireguard at home. PiHole and Wireguard will not care about or interact directly with a service like porkbun. Okay, you might configure PiHole to forward DNS requests to porkbuns nameservers, but that's something every dns provider will support because that's what dns providers do.
Porkbun is the way!
You don't have to change domain registrar, you just have to point your non dynamic domain's CNAME record to your free dynamic dns address. https://en.wikipedia.org/wiki/CNAME_record This way you can add ddns capabilities to any domain
Oh my god that's perfect. I think I managed to do it with this. Thank you so much.
This is my setup. Ddns on the router updates ddns service and all my domain records are a cname to that.
Looks like you solved it but I moved from Google DNS to Namecheap and it works well. I use multiple subdomains and certbot without issue.
OVH has (ipv4 only) DynDNS and is widely supported by routers etc.
Cloudflare? Namecheap?
Not sure exactly what features you're after but the vast majority of them support what you mentioned above.
Fyi, namecheap doesn't expose the API unless you pay more, also the API key is admin rights, not just changing the IP. I would stick with cloudflare.
I know you got your answer but wanted to mention the Google DNS is going away and being migrated to square space.
I use cloudflare as my DNS and registrar and ddclient to set up addresses dynamically
Check out Cloudflare, with a D. It's free and does exactly what you want.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!