fernwerker / ownDynDNS

Self-hosted dynamic DNS php script for FRITZ!Box and netcup DNS API
GNU General Public License v3.0
138 stars 35 forks source link

Add possibility to update multiple domains with one update url #23

Closed PascalHaury closed 1 year ago

PascalHaury commented 1 year ago

This pull request provides the ability to update multiple domains with a single update URL.

To update the domains pass the Domains as a comma seperated list:

https://<url of your webspace>/update.php?user=<username>&password=<pass>&ipv4=<ipaddr>&ipv6=<ip6addr>&domain=<domain1>,<domain2>,<domain3>,....

The "old" syntax for the update URL, with only one domain, still works too:

https://<url of your webspace>/update.php?user=<username>&password=<pass>&ipv4=<ipaddr>&ipv6=<ip6addr>&domain=<domain>
fernwerker commented 1 year ago

@theHaury thanks for the pull request.

Please add the new feature also to README.md in the "Usage" chapter. Thank you.