From b8a910253bc8687dae39608e5d24c8404ef2c57b Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sat, 4 May 2019 07:44:42 +0200 Subject: [PATCH] dns/dyndns: add cloudflare to wildcard domains PR: https://github.com/opnsense/plugins/issues/586 --- dns/dyndns/Makefile | 2 +- dns/dyndns/src/www/services_dyndns_edit.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dns/dyndns/Makefile b/dns/dyndns/Makefile index 2cf1ea476..300b00e27 100644 --- a/dns/dyndns/Makefile +++ b/dns/dyndns/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= dyndns PLUGIN_VERSION= 1.15 -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_COMMENT= Dynamic DNS Support PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/dns/dyndns/src/www/services_dyndns_edit.php b/dns/dyndns/src/www/services_dyndns_edit.php index 4c10703d5..7aef29e26 100644 --- a/dns/dyndns/src/www/services_dyndns_edit.php +++ b/dns/dyndns/src/www/services_dyndns_edit.php @@ -105,6 +105,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $host_to_check = $pconfig['host']; switch ($pconfig['type']) { + case 'cloudflare': + case 'cloudflare-v6': case 'googledomains': case 'namecheap': $host_to_check = preg_replace('/^[@*]\./', '', $host_to_check);