From 410cb9dbf812d2e02aa38adba13176501869a369 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 29 Mar 2023 10:55:10 +0200 Subject: [PATCH] dns/ddclient - allow custom target hostname for dyndns2 protocol. closes https://github.com/opnsense/plugins/issues/3362 It looks like the backend code was already available, we just forgot to broadcast it to the frontend using the known_services() method --- .../src/opnsense/scripts/ddclient/lib/account/dyndns2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py b/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py index 2ea0649c3..e53b14c83 100755 --- a/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py +++ b/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py @@ -53,7 +53,7 @@ class DynDNS2(BaseAccount): @staticmethod def known_services(): - return DynDNS2._services.keys() + return list(DynDNS2._services.keys()) + ['custom'] def match(account): if account.get('service') in DynDNS2._services or (