ma elchos/search: refactor dyndns code
This commit is contained in:
parent
94bec25995
commit
c84615a031
@ -23,10 +23,21 @@ let
|
|||||||
pid=${ddclientPIDFile}
|
pid=${ddclientPIDFile}
|
||||||
${concatStringsSep "\n" (mapAttrsToList (user: pass: ''
|
${concatStringsSep "\n" (mapAttrsToList (user: pass: ''
|
||||||
|
|
||||||
|
protocol=dyndns2
|
||||||
use=if, if=${primary-itf}
|
use=if, if=${primary-itf}
|
||||||
protocol=dyndns2, server=ipv4.nsupdate.info, login=${user}, password='${pass}' ${user}
|
ssl=yes
|
||||||
#usev6=if, if=${primary-itf}
|
server=ipv4.nsupdate.info
|
||||||
#protocol=dyndns2, server=ipv6.nsupdate.info, login=${user}, password='${pass}' ${user}
|
login=${user}
|
||||||
|
password='${pass}'
|
||||||
|
${user}
|
||||||
|
|
||||||
|
protocol=dyndns2
|
||||||
|
usev5=if, if=${primary-itf}
|
||||||
|
ssl=yes
|
||||||
|
server=ipv6.nsupdate.info
|
||||||
|
login=${user}
|
||||||
|
password='${pass}'
|
||||||
|
${user}
|
||||||
'') dict)}
|
'') dict)}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user