qdm12 / ddns-updater

Container to update DNS records periodically with WebUI for many DNS providers
https://hub.docker.com/r/qmcgaw/ddns-updater/
MIT License
1.66k stars 158 forks source link

cpanel #545

Open ITMan101 opened 11 months ago

ITMan101 commented 11 months ago

The IP is updated by accessing a link cPanel provides.

ex. https://examplewebsite.com/cpanelwebcall/secret-code

It returns "ipv4: New IP Address"

ingoratsdorf commented 3 months ago

Not sure if there's really a requirement for a new provider. I use this:

{
    "settings":[
      {
        "provider": "custom",
        "domain": "example.net",
        "host": "host",
        "url": "https://example.net/cpanelwebcall/abcdefghijklmnopqrtuvwxyz",
        "ipv4key": "ipv4",
        "ipv6key": "ipv6",
        "success_regex": "ipv4: \\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}",
        "ip_version": "ipv4",
        "ipv6_suffix": ""
      }
     ]
}