Skip to content

Cyper77/php-dynamic-dns-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Dynamic DNS server in PHP. Works with FritzBox.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.9%
  • HTML 0.1%