SchlundTech DynDNS backend for PHP
SchlundTech DynDNS backend for PHP.
home.example.com
. It should have a low TTL value such that it is not cached (schlundtech only allows >=60).update.php
script has to be accessible from the web, for example: dyndns.example.com/update.php
. HTTPS is highly recommended!
config.example.php
to config.php
and adjust the settings.http://dyndns.example.com/update.php?pass=<password>&domain=example.com&ipaddr=<ipaddr>&ip6addr=<ip6addr>
This is an example configuration for nginx:
server {
# your settings
location ~ /\.git {
deny all;
}
location ~ ^/config.*.php { deny all; }
location ~ ^/request-get.xml { deny all; }
location ~ ^/request-put.xml { deny all; }
location ~ ^/logs/ { deny all; }
}
The script can also be executed from the command line:
php update.php --pass="<password>" --domain="example.com" --ipaddr="<ipaddr>" --ip6addr="<ip6addr>"