asuswrt-merlin-ddns-cloudflare icon indicating copy to clipboard operation
asuswrt-merlin-ddns-cloudflare copied to clipboard

Allow multiple DNS Record Names to be updated

Open samkatakouzinos opened this issue 5 years ago • 2 comments

With this ddns-start script I know I can configure one DNS Record Name to work correctly.

I have a few domains at Cloudflare that I point at my router. I run a nginx server configured with the domains on the router and it handles the domains.

How may I be able to configure multiple DNS Record Names to work correctly? For example, domainone.org, domaintwo.com, domainthree.net all point to my router and I would like this script to accommodate them. Currently only one domainone.org can update automatically.

Any advice is appreciated.

samkatakouzinos avatar Oct 15 '20 13:10 samkatakouzinos

That's a great scenario but unfortunately the current script doesn't support it. PR is welcome to add that functionality though!

alphabt avatar Oct 16 '20 03:10 alphabt

@samkatakouzinos Have you tried using CNAME records?

I would just avoid having a CNAME record for a top-level domain since it can conflict with other non A records (MX, TXT, etc.). But I reckon you could easily have a CNAME record for at least one subdomain of each of your top-level domains pointing at the subdomain you're currently updating with this repo's script and then handle local redirections between your different subdomains.

I hope my above explanation makes sense, but if you'd like some more in-depth details, don't hesitate. :)

LandazuriPaul avatar Jul 13 '21 12:07 LandazuriPaul