diff options
Diffstat (limited to 'ddns.php')
-rw-r--r-- | ddns.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |