Page MenuHomeVyOS Platform

Fix ddclient cache entries
Closed, ResolvedPublicBUG


The current version of ddclient has some known issues with the way it creates cache entries for some providers.

This leads to unnecessary calls to providers even after receiving nochg response from the providers' service.

The mitigation to the issue would be:

  1. to patch ddclient build with patches cherry-picked from upstream
  2. tweak the way ddclient.conf is generated to account for the fix


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

syncer triaged this task as Normal priority.

Cannot pass the smoketest:

 DEBUG - ======================================================================
DEBUG - FAIL: test_01_dyndns_service_standard (__main__.TestServiceDDNS.test_01_dyndns_service_standard)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG -   File "/usr/libexec/vyos/tests/smoke/cli/", line 82, in test_01_dyndns_service_standard
DEBUG -     self.assertIn(f'use=if', ddclient_conf)
DEBUG - AssertionError: 'use=if' not found in '### Autogenerated by ###\ndaemon=300\nsyslog=yes\nssl=yes\npid=/run/ddclient/\ncache=/run/ddclient/ddclient.cache\nweb=googledomains use=no            \n # Web service dynamic DNS configuration for cloudflare: [cloudflare,]\nusev4=ifv4, \\\nifv4=eth0, \\\nprotocol=cloudflare, \\\, \\\npassword=paSS_@4ord \\\'
DEBUG - ----------------------------------------------------------------------
DEBUG - Ran 4 tests in 11.489s
DEBUG - FAILED (failures=1)
Viacheslav changed the task status from Open to Needs testing.Oct 4 2023, 7:22 PM