mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/dyndns: add cloudflare to wildcard domains
PR: https://github.com/opnsense/plugins/issues/586
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user