Feature #9092


Configurable DDNS update force interval, 25 days is too long for some providers

Added by Bjarne Boström over 2 years ago. Updated about 1 month ago.

Dynamic DNS
Target version:
Start date:
Due date:
% Done:


Estimated time:
Plus Target Version:
Release Notes:


I use dynamic DNS service. It requires refreshing the IP every 7 days (even if it does not change) or it is released.

I have configured this via Custom 'Service Type' in the Dynamic DNS Clients. It works, but the update interval would seem to be hardcoded to 25 days based on the system log ("rc.dyndns.update: phpDynDNS (): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry. "). At least I did not find any practical way to configure this value.

Could it be possible to get this value configurable for the custom option?

I found at least the following: Around line 2643 there is "$maxCacheAgeSecs = 25 * 24 * 60 * 60;". I edited that via Diagnostics->Edit File to be 7 days. This did not change the log texts (not sure if it still actually works, has not been 7 days since). Log text would appear to come from around line 2165.

(PFSense version 2.4.4-RELEASE (amd64))

P.S. I have previously used dd-wrt, which did have the option to select update interval in days. Also sorry in case making the issue was incorrect procedure.

Actions #1

Updated by Jaakko Kantojärvi 4 months ago

Fix / feature implementation:

Actions #2

Updated by Jim Pingle 4 months ago

That PR may set it for that one provider, but it's not a general solution.

Actions #3

Updated by Jaakko Kantojärvi 3 months ago

Yes. My fix implements this specific provider. The generic solution, i.e. including the interval time as a form field, would require adding the value to the function arguments. I didn't want to touch that logic yet. I could look into that, once I the specific provider is done.

Actions #4

Updated by Jim Pingle about 1 month ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.6.0
  • Plus Target Version set to 21.09
Actions #6

Updated by Renato Botelho about 1 month ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho

PR has been merged. Thanks!


Also available in: Atom PDF