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,13 +29,18 @@ 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 =
name = "."; (lib.singleton {
forward-addr = [ name = ".";
"1.1.1.1" forward-addr = [
"8.8.8.8" "1.1.1.1"
]; "8.8.8.8"
}; ];
})
++ lib.optional config.custom.services.tailscale.enable {
name = "${config.custom.services.tailscale.domain}";
forward-addr = [ "100.100.100.100" ];
};
}; };
}; };