I’ve got two domains that I want to run Dynamic DNS for hosted with Cloudflare, but I’m having difficulty getting them both set up. Initially, I tried a configuration that looked like this based on recommendations for multiple domains with other providers:
service cloudflare {
host-name 1.firstdomain.com
host-name 2.seconddomain.com
login <email>
password <api key>
protocol cloudflare
zone firstdomain.com
}
That configuration worked for the first domain, but because Cloudflare specifically requires that zone
property, the second domain was stuck on noconnect
status. I tried a second solution others had recommended in the past allowing multiple configs for the same provider, with the configuration looking like this:
service cloudflare {
host-name 1.firstdomain.com
login <email>
password <api key>
protocol cloudflare
zone 1.firstdomain.com
}
service custom {
host-name 2.seconddomain.com
login <email>
password <api key>
protocol cloudflare
server cloudflare.com
zone seconddomain.com
}
However, I was unable to commit those changes and received the following validation error "zone" option only supported with CloudFlare
. It seems like the validation logic is basing the usage of that field off of the service name and not the protocol even though any configuration using that protocol needs the zone field.
Is there any workaround for this, is this a validation bug, or am I totally off base and just doing something wrong?