Update Tailscale extraHosts

This commit is contained in:
iFargle 2024-01-05 14:59:23 +09:00
parent f23f13a334
commit 8b1f3df4c8

View file

@ -10,4 +10,12 @@
]; ];
}; };
networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 22 ]; networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 22 ];
# Because of the split DNS< hosts forget which IP
# (external or internal) is promtail/loki.
# Setting them manually here helps.
networking.extraHosts = ''
100.64.0.14 influx.sysctl.io
100.64.0.14 loki.sysctl.io
'';
} }