EasyDDNS icon indicating copy to clipboard operation
EasyDDNS copied to clipboard

Enhancement request: Simpler multiple DDNS support

Open anishsane opened this issue 4 years ago • 1 comments

I might have a need to enable multiple DDNS services together.

Currently, I can achieve it by multiple objects of EasyDDNSClass and initializing all of them separately. However, a lot of the code is common:

  1. Update time expiry
  2. Getting the public IP etc

It will be useful if we could keep the common members (e.g. new_ip; old_ip;) and methods as static to class and update only once, even if there are many services defined.

Also, from a usability point of view, It will be very useful if (in addition to the current single service support), we can init the library via an array or something.

Something like:

String myServices[] = ["noip", "duckdns", "duckdns"];
EasyDDNS.service(myServices);

anishsane avatar Sep 17 '20 21:09 anishsane

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.94. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Sep 17 '20 21:09 issue-label-bot[bot]