SchlundTech DynDNS backend for PHP.
- Contract with Schlund-Technologies and access to the XML-Gateway.
- Webserver with PHP and php-curl.
- Create a subdomain with an A-record in your domain, say
home.example.com
. It should have a low TTL value such that it is not cached (schlundtech only allows >=60). - Upload the files to your webserver. The
update.php
script has to be accessible from the web, for example:dyndns.example.com/update.php
. HTTPS is highly recommended! - Copy
config.example.php
toconfig.php
and adjust the settings. - Create the logdir and give the webserver write-access to it.
- Set up a cron-job, fritz-box, router, ... to do a request every time the ip-address changes. The URL is
http://dyndns.example.com/update.php?pass=<password>&domain=home.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; }
}
- Standardize API, e.g. like Dyn.com
- Security-Audit
- Support multiple dynamic subdomains
- Rolling log files