nebula/dns: Add forward-zone for tailscale domains

I'm not sure if this is actually doing anything
This commit is contained in:
SebastianStork 2026-01-10 01:31:09 +01:00
parent df8682f4d0
commit bd196f1f27
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -29,12 +29,17 @@ in
|> lib.map (node: "\"${node.name}.${nebulaCfg.network.domain}. A ${node.address}\""); |> lib.map (node: "\"${node.name}.${nebulaCfg.network.domain}. A ${node.address}\"");
}; };
forward-zone = lib.singleton { forward-zone =
(lib.singleton {
name = "."; name = ".";
forward-addr = [ forward-addr = [
"1.1.1.1" "1.1.1.1"
"8.8.8.8" "8.8.8.8"
]; ];
})
++ lib.optional config.custom.services.tailscale.enable {
name = "${config.custom.services.tailscale.domain}";
forward-addr = [ "100.100.100.100" ];
}; };
}; };
}; };