Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (35 loc) · 1.75 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.75 KB

Dynamic DNS Server

Upload this script to any PHP-enabled webspace and let FritzBox call it. It will work with other DynDNS-Clients as well.

Usage

  • Upload everything to your webspace
  • (you may want to hide data.json and ip.template.html from your webroot)
  • Update the config section in update.php
  • Update your Dynamic DNS FritzBox settings
  • If you want to broadcast the new IP to other services (e.g. your domain registrar or whatever) look for @todo and implement it here

Domain Registrar APIs (@todo)

FritzBox 7360 Settings

Name Value
Update-URL http://example.com/update.php?ip4addr=<ipaddr>&ip6addr=<ip6addr>&user=<username>&password=<pass>&domain=<domain>
Domain anything you want, but make sure its a valid URL, e.g. www.example.com
User username from your config (in update.php)
Password password from your config (in update.php)

Example URL calls

  • http://example.com/update.php?user=XXX&password=XXX&ip4addr=0.0.0.0&ip6addr=0:0:0:0:0:0:0:0
  • http://example.com/update.php?user=XXX&password=XXX&ip4addr=0.0.0.0
  • http://example.com/update.php?user=XXX&password=XXX&ip6addr=0:0:0:0:0:0:0:0
  • http://example.com/update.php?user=XXX&password=XXX&reset=1
  • http://example.com/ip.html (if IP_HTML_PAGE is set)

License

Copyright 2012 Matthias Kadenbach
Released under the MIT license