fix: wire up exec, fw auth vars, and prune dead detection keys

- Template now emits `exec=` so ddclient_exec actually toggles dry-run (was documented and defaulted but never written to the config).
- Rename fw_login/fw_password defaults to ddclient_fw_login/ddclient_fw_password to match what the template reads; previous names were silently dead.
- Drop unused address/interface/command/skip keys from the ddclient_ipv{4,6}_detection defaults — the template only reads method/source/skip_pattern. Fix the `# Method:` comments to list the v4/v6-suffixed names actually in use.
This commit is contained in:
2026-06-24 21:42:25 -04:00
parent 928e98a115
commit 9057c453ad
2 changed files with 10 additions and 14 deletions
+9 -14
View File
@@ -28,21 +28,16 @@ ddclient_postscript: "" # Script to run after update
# IP Detection configuration # IP Detection configuration
ddclient_ipv4_detection: ddclient_ipv4_detection:
method: webv4 # Method: ip, if, web, fw, cmd method: webv4 # Method: ipv4, ifv4, webv4, fwv4, cmdv4
source: dyndns # Source for web/fw methods source: dyndns # URL / interface / command / IP, depending on method
address: "" # IP address for method=ip
interface: "" # Network interface (for method=if)
command: "" # Command to run (for method=cmd)
skip: "" # Pattern to skip in output
ddclient_ipv6_detection: ddclient_ipv6_detection:
method: webv6 # Method: ip, if, web, fw, cmd method: webv6 # Method: ipv6, ifv6, webv6, fwv6, cmdv6
source: dyndns # Source for web/fw methods source: dyndns # URL / interface / command / IP, depending on method
address: "" # IP address for method=ip
interface: "" # Network interface (for method=if)
command: "" # Command to run (for method=cmd)
skip: "" # Pattern to skip in output
fw_login: "" # Firewall login (for method=fw) ddclient_fw_login: "" # Firewall login (for method=fw)
fw_password: "" # Firewall password (for method=fw) ddclient_fw_password: "" # Firewall password (for method=fw)
# DDNS providers to update
ddclient_protocols: []
+1
View File
@@ -48,6 +48,7 @@ debug={{ ddclient_debug | ternary('yes', 'no') }}
# ============================================================ # ============================================================
# Update Behavior # Update Behavior
# ============================================================ # ============================================================
exec={{ ddclient_exec | ternary('yes', 'no') }}
retry={{ ddclient_retry | ternary('yes', 'no') }} retry={{ ddclient_retry | ternary('yes', 'no') }}
force={{ ddclient_force | ternary('yes', 'no') }} force={{ ddclient_force | ternary('yes', 'no') }}
{% if ddclient_postscript %} {% if ddclient_postscript %}