diff options
author | makefu <github@syntax-fehler.de> | 2017-08-16 12:15:52 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-08-16 12:31:56 +0200 |
commit | c84615a0315cc285c25b52ed1785e057f2535168 (patch) | |
tree | 94f81ed35dc8139a1a0b02d42b216dab5785a663 /makefu/2configs/elchos | |
parent | 94bec25995287c4eee65924c3e6794b6333aeca6 (diff) |
ma elchos/search: refactor dyndns code
Diffstat (limited to 'makefu/2configs/elchos')
-rw-r--r-- | makefu/2configs/elchos/search.nix | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/makefu/2configs/elchos/search.nix b/makefu/2configs/elchos/search.nix index 5777be373..521bfc80a 100644 --- a/makefu/2configs/elchos/search.nix +++ b/makefu/2configs/elchos/search.nix @@ -23,10 +23,21 @@ let pid=${ddclientPIDFile} ${concatStringsSep "\n" (mapAttrsToList (user: pass: '' + protocol=dyndns2 use=if, if=${primary-itf} - protocol=dyndns2, server=ipv4.nsupdate.info, login=${user}, password='${pass}' ${user} - #usev6=if, if=${primary-itf} - #protocol=dyndns2, server=ipv6.nsupdate.info, login=${user}, password='${pass}' ${user} + ssl=yes + server=ipv4.nsupdate.info + login=${user} + password='${pass}' + ${user} + + protocol=dyndns2 + usev5=if, if=${primary-itf} + ssl=yes + server=ipv6.nsupdate.info + login=${user} + password='${pass}' + ${user} '') dict)} ''; |