summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-05-31 20:52:49 +0200
committerErich Eckner <git@eckner.net>2024-05-31 20:52:49 +0200
commitb1d90c73c9e9453b0f36404156803b28bd94d9e3 (patch)
tree0a8f3ea6406e65d438db041b75ef19dd78ec927c
parent7cc605964b02ba21e08ca4096bb47538192b198f (diff)
downloadddns-master.tar.xz
add 192.168.188.0/24 reverse addressesHEADmaster
-rw-r--r--ddns.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ddns.php b/ddns.php
index 9a765e9..39bee55 100644
--- a/ddns.php
+++ b/ddns.php
@@ -43,7 +43,8 @@
$addrTeile = array_reverse($addrTeile);
if (($subNet == '10.0.2') ||
($subNet == '192.168.0') ||
- ($subNet == '192.168.1'))
+ ($subNet == '192.168.1') ||
+ ($subNet == '192.168.188'))
return implode('.',$addrTeile).'.in-addr.arpa.';
} elseif (filter_var($addr, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
$reversed_address = reverse_ipv6_address($addr);