Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple DNS Record Names to be updated #8

Open
samkatakouzinos opened this issue Oct 15, 2020 · 2 comments
Open

Allow multiple DNS Record Names to be updated #8

samkatakouzinos opened this issue Oct 15, 2020 · 2 comments

Comments

@samkatakouzinos
Copy link

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.

@alphabt
Copy link
Owner

alphabt commented Oct 16, 2020

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

@LandazuriPaul
Copy link

@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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants