From 5eb3d1aad0de76e1c273f1659f8c003d3fcd9a43 Mon Sep 17 00:00:00 2001 From: Jakub Gargul Date: Wed, 6 Dec 2023 14:00:38 +0100 Subject: [PATCH 1/2] dns/ddclient/dyndns2: fix the ovh-dyndns as reported in opnsense#3679 This commit fixes the update process for ovh-dyndns - part of the https://github.com/opnsense/plugins/issues/3679 --- .../src/opnsense/scripts/ddclient/lib/account/dyndns2.py | 3 ++- 1 file changed, 2 insertions(+), 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 f712a3f6f1..f27f1ec044 100755 --- a/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py +++ b/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py @@ -89,7 +89,8 @@ def execute(self): 'params': { 'hostname': self.settings.get('hostnames'), 'myip': self.current_address, - 'wildcard': 'ON' if self.settings.get('wildcard', False) else 'NOCHG' + 'wildcard': 'ON' if self.settings.get('wildcard', False) else 'NOCHG', + 'system': 'dyndns' }, 'auth': HTTPBasicAuth(self.settings.get('username'), self.settings.get('password')), 'headers': { From 0738d9cb0d414f99264a3479431f950d5197454a Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 23 Jan 2024 09:31:35 +0100 Subject: [PATCH 2/2] Update dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py --- .../src/opnsense/scripts/ddclient/lib/account/dyndns2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f27f1ec044..e93d0e5abe 100755 --- a/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py +++ b/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py @@ -89,8 +89,8 @@ def execute(self): 'params': { 'hostname': self.settings.get('hostnames'), 'myip': self.current_address, - 'wildcard': 'ON' if self.settings.get('wildcard', False) else 'NOCHG', - 'system': 'dyndns' + 'system': 'dyndns', + 'wildcard': 'ON' if self.settings.get('wildcard', False) else 'NOCHG' }, 'auth': HTTPBasicAuth(self.settings.get('username'), self.settings.get('password')), 'headers': {