oznu/docker-cloudflare-ddns

Update subdomain only

mtompkins opened this issue · 5 comments

It would be useful if an ability to only update a subdomain was made available. I didn't see any manner in which to not update the primary record/root domain.

Wait what? There is a "-e SUBDOMAIN" parameter right which does exactly that.

-e SUBDOMAIN - A subdomain of the ZONE to write DNS changes to. If this is not supplied the root zone will be used.

When I used that parameter the root was also updated.

I implemented it today and it works fine. Where the subdomain is: "subdomain.subdomain2" and the zone = "domain.nl". so the subdomain is without domain.nl. This works for me.

I used zone=acme.com subdomain=subdomain and both the subdomain A record and the zone A record were updated.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.