diff --git a/dns/dyndns/Makefile b/dns/dyndns/Makefile index 0eebec188..112a23964 100644 --- a/dns/dyndns/Makefile +++ b/dns/dyndns/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= dyndns PLUGIN_VERSION= 1.2 +PLUGIN_REVISION= 1 PLUGIN_COMMENT= Dynamic DNS Support PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc index dd2dd0bc6..7877fde6c 100644 --- a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc +++ b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc @@ -637,8 +637,8 @@ class updatedns { "content" => "{$this->_dnsIP}", "type" => "A", "name" => "{$this->_dnsHost}", - "proxiable" => false, - "proxied" => false + "proxiable" => $output->result[0]->proxiable, + "proxied" => $output->result[0]->proxied ); $data_json = json_encode($hostData); $updateHostId = "https://{$dnsServer}/client/v4/zones/{$zone}/dns_records/{$host}";