mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
nebula/dns: Add forward-zone for tailscale domains
I'm not sure if this is actually doing anything
This commit is contained in:
parent
df8682f4d0
commit
bd196f1f27
1 changed files with 12 additions and 7 deletions
|
|
@ -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" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue