diff options
-rwxr-xr-x | src/conf_mode/dynamic_dns.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py index afebc5d0e..03b06f875 100755 --- a/src/conf_mode/dynamic_dns.py +++ b/src/conf_mode/dynamic_dns.py @@ -63,7 +63,9 @@ protocol={{ srv.protocol }} max-interval=28d login={{ srv.login }} password='{{ srv.password }}' +{% if srv.server -%} server={{ srv.server }} +{% endif -%} {{ host }} {% endfor %} {% endfor %} |