diff options
author | Erich Eckner <git@eckner.net> | 2022-07-20 15:52:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-07-20 15:52:29 +0200 |
commit | 820445b0ca48efbe0af0b04cf83fc184f3af59a9 (patch) | |
tree | 32057ecbaac4dba01c9094ac257e83297aa6e28d /ddns.php | |
parent | 9734dc4d395c550f407c851697396c77f9fad2fc (diff) | |
download | ddns-820445b0ca48efbe0af0b04cf83fc184f3af59a9.tar.xz |
ddns.php: update colocation status
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); |