Revision e93a7c71
Added by calvinbui over 9 years ago
src/etc/inc/dyndns.class | ||
---|---|---|
716 | 716 |
$hostData = array( |
717 | 717 |
"content" => "{$this->_dnsIP}", |
718 | 718 |
"type" => "A", |
719 |
"name" => "{$this->_dnsHost}", |
|
720 |
"proxiable" => false, |
|
721 |
"proxied" => false |
|
719 |
"name" => "{$this->_dnsHost}" |
|
722 | 720 |
); |
723 | 721 |
$data_json = json_encode($hostData); |
724 | 722 |
$updateHostId = "https://{$dnsServer}/client/v4/zones/{$zone}/dns_records/{$host}"; |
Also available in: Unified diff
Stop DynDNS from turning off CloudFlare
By having 'proxiable' and 'proxied' values set to false, CloudFlare is turned off (i.e. not go through CloudFlare) for the domain when updating the DNS records.
Setting them to 'true' would turn CloudFlare on that domain, however the user may have disabled it for their own reasons and would not like it changed.
Instead, removing these two values will not alter the status of CloudFlare on the domain.
Tested with false/false, true/false, false/true, true/true in all scenarios.