ddns: also update A records
This commit is contained in:
parent
95fd1b26ec
commit
35a609f12c
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ with lib; let
|
||||||
|
|
||||||
curl_url=$(url "$user" "$password" ${domain})
|
curl_url=$(url "$user" "$password" ${domain})
|
||||||
|
|
||||||
${pkgs.curl}/bin/curl -6 "$curl_url" ${if interface == null then "" else "--interface ${interface}"}
|
${pkgs.curl}/bin/curl --ipv4 "$curl_url" ${if interface == null then "" else "--interface ${interface}"} || true
|
||||||
|
${pkgs.curl}/bin/curl --ipv6 "$curl_url" ${if interface == null then "" else "--interface ${interface}"}
|
||||||
'';
|
'';
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue