Compare commits

...

2 commits

Author SHA1 Message Date
b8a2c3c10d Server/tailscale: wait more time for ip to be up 2025-03-25 22:31:06 +01:00
421a389bdb Server/ddclient: change ip provider 2025-03-25 22:30:49 +01:00
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ in {
services.ddclient = { services.ddclient = {
enable = true; enable = true;
usev4 = "webv4, webv4=dynamicdns.park-your-domain.com/getip"; usev4 = "webv4, webv4=https://api.ipify.org";
usev6 = ""; usev6 = "";
protocol = "namecheap"; protocol = "namecheap";
server = "dynamicdns.park-your-domain.com"; server = "dynamicdns.park-your-domain.com";

View file

@ -5,9 +5,9 @@
text = '' text = ''
# Based on https://github.com/tailscale/tailscale/issues/11504#issuecomment-2113331262 # Based on https://github.com/tailscale/tailscale/issues/11504#issuecomment-2113331262
echo Waiting for tailscale0 to get an IP adress.. echo Waiting for tailscale0 to get an IP adress..
for i in {1..120}; do for i in {1..240}; do
if ip addr show dev tailscale0 | grep -q 'inet '; then break; fi if ip addr show dev tailscale0 | grep -q 'inet '; then break; fi
echo "Waiting $i/120 seconds" echo "Waiting $i/240 seconds"
sleep 1 sleep 1
done done
''; '';