dns/dyndns: add cloudflare to wildcard domains

PR: https://github.com/opnsense/plugins/issues/586
This commit is contained in:
Franco Fichtner
2019-05-04 07:44:42 +02:00
parent 19c76e503d
commit b8a910253b
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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
@@ -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);