fix(raptus/headscale): add git.ccnlc.eu as dns record

This commit is contained in:
Nydragon 2024-10-25 17:23:33 +02:00
parent 21bd9f658d
commit 2c4a7921ac
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE

View file

@ -52,6 +52,10 @@ mkIf config.services.headscale.enable {
dns_config = { dns_config = {
override_local_dns = true; override_local_dns = true;
magic_dns = true; magic_dns = true;
# FIX: shan being down takes down entire tailnet
# 1 -> move dns to dedicated device
# 2 -> find out if fallback dns's are supported by headscale
nameservers = [ nameservers = [
"100.64.0.4" "100.64.0.4"
]; ];
@ -69,6 +73,11 @@ mkIf config.services.headscale.enable {
type = "A"; type = "A";
value = "100.64.0.4"; value = "100.64.0.4";
} }
{
name = "git.ccnlc.eu";
type = "A";
value = "100.64.0.3";
}
] ]
# Tailscale doesn't seem to support wildcard A/AAAA records # Tailscale doesn't seem to support wildcard A/AAAA records
# - https://github.com/juanfont/headscale/issues/2159#issuecomment-2393406444 # - https://github.com/juanfont/headscale/issues/2159#issuecomment-2393406444