summaryrefslogtreecommitdiff
path: root/ddns.php
diff options
context:
space:
mode:
Diffstat (limited to 'ddns.php')
-rw-r--r--ddns.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/ddns.php b/ddns.php
index 551dfe9..1f652d4 100644
--- a/ddns.php
+++ b/ddns.php
@@ -238,3 +238,6 @@
file_put_contents('/srv/http/vhosts/eckner.net/ddns/log', $logContent, FILE_APPEND | LOCK_EX);
print "updated ips for domain \"" . $domain . ".ddns.eckner.net\": " . implode(", ", $ips) . "\n";
+
+ $handle = fopen('https://colocation.eckner.net/update.php?key=' . trim(file('/srv/http/vhosts/eckner.net/ddns/colocation-token')) . '&running=1&machine=' . $domain, 'r');
+ fclose($handle);