summaryrefslogtreecommitdiff
path: root/sys/ns/ns.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-08-04 21:01:55 -0600
committerAlejandro Soto <alejandro@34project.org>2024-08-04 21:01:55 -0600
commite6983cdadb763fe73dbd67231ea56dcf2288c96f (patch)
tree0ab3cbc053f540c3747cc23614da56ee7657eb4d /sys/ns/ns.nix
parent3d516a3ca45ea1745467d61fe8c4ba155bf75756 (diff)
sys/ns: enable Gandi secondary NS
Diffstat (limited to 'sys/ns/ns.nix')
-rw-r--r--sys/ns/ns.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/ns/ns.nix b/sys/ns/ns.nix
index 30a98d4..56460c1 100644
--- a/sys/ns/ns.nix
+++ b/sys/ns/ns.nix
@@ -15,8 +15,22 @@ with lib; {
};
config = mkIf cfg.enable {
+ # https://docs.gandi.net/en/domain_names/advanced_users/secondary_nameserver.html
+ nsdConfig =
+ let
+ gandiSecondary = [
+ "17.70.177.40 NOKEY"
+ "2001:4b98:d:1::40 NOKEY"
+ ];
+ in
+ {
+ notify = gandiSecondary;
+ provideXFR = gandiSecondary;
+ };
+
ns = [
{ name = "@"; host = cfg.primary; }
+ { name = "@"; host = "ns6.gandi.net."; }
];
a = [