diff options
author | calvinbui <trungthibui@gmail.com> | 2015-12-17 05:23:22 +1100 |
---|---|---|
committer | calvinbui <trungthibui@gmail.com> | 2015-12-17 05:23:22 +1100 |
commit | e93a7c71db7b35512591028316f15f579cd57cf7 (patch) | |
tree | 32afdafe555e1006525f9b8c8f428de07ddccd49 | |
parent | efe82b83205f3f4ff4a552ae665ec42bb687a3bb (diff) | |
download | pfsense-e93a7c71db7b35512591028316f15f579cd57cf7.zip pfsense-e93a7c71db7b35512591028316f15f579cd57cf7.tar.gz |
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.
-rw-r--r-- | src/etc/inc/dyndns.class | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index 1d1641b..41ac192 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -716,9 +716,7 @@ $hostData = array( "content" => "{$this->_dnsIP}", "type" => "A", - "name" => "{$this->_dnsHost}", - "proxiable" => false, - "proxied" => false + "name" => "{$this->_dnsHost}" ); $data_json = json_encode($hostData); $updateHostId = "https://{$dnsServer}/client/v4/zones/{$zone}/dns_records/{$host}"; |