ethanpil / dyndns-cpanel

Dynamic DNS update script for CPanel accounts with DYNDNS.com API
36 stars 15 forks source link

dyndns-cpanel

NOTE: PROJECT IS EOL!! C-Panel has now introduced Dynamic DNS into their core functionality, and this tool is no longer needed. Thanks for the support over the years, but this project should now be considered abandoned and EOL. More information: https://docs.cpanel.net/cpanel/domains/dynamic-dns/#/

Dynamic DNS update script for CPanel accounts using DYNDNS.com API

Based on the hard work of Mitchel Haan:

https://haanenterprises.com/2013/04/host-your-own-dynamic-dns-using-php-and-cpanel-apis/

Changes to Mr. Haan's code:

DYNDNS Compatibility Note

Most dyndns clients will work to update your cpanel using this script as the custom address. You will likely need to provide the FQDN as the hostname:

(ie: hostname=remote.example.com )

Use:

http://username:password@website.com/dyndns.php?hostname=remote.domain.tld&myip=192.168.1.1

Setup

Update the variables at the top of the script to match your setting. Comments are provided to explain the values.

Under certain server configurations customonly on line 209 must be set to 0 in order to find subdomain records. See https://github.com/ethanpil/dyndns-cpanel/issues/3

Support

As is. No support provided.

Thanks