summaryrefslogtreecommitdiff
path: root/sys/ns/ns.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-08-10 12:04:55 -0600
committerAlejandro Soto <alejandro@34project.org>2024-08-10 12:05:12 -0600
commit95982afebf37e838bd0ab871732966aca98c1744 (patch)
tree8a8b56507e1592419150a59706c04668f280c308 /sys/ns/ns.nix
parentd9c39be2f5cf057e2064d4990315314f4192b0a1 (diff)
sys/ns/34project.org: switch to local nameservers
Diffstat (limited to 'sys/ns/ns.nix')
-rw-r--r--sys/ns/ns.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/ns/ns.nix b/sys/ns/ns.nix
index ccd55f6..f23fccf 100644
--- a/sys/ns/ns.nix
+++ b/sys/ns/ns.nix
@@ -14,6 +14,7 @@ in
primary = mkOption {
type = str;
+ default = "ns1";
};
};
@@ -21,7 +22,7 @@ in
# https://docs.gandi.net/en/domain_names/advanced_users/secondary_nameserver.html
nsdConfig =
let
- gandiSecondary = [
+ providerSecondary = [
"37.205.15.45 ${tsigName}" # ns3.vpsfree.cz
"37.205.11.85 ${tsigName}" # ns4.vpsfree.cz
"2a03:3b40:fe:2be::1 ${tsigName}" # ns3.vpsfree.cz
@@ -29,8 +30,8 @@ in
];
in
{
- notify = gandiSecondary;
- provideXFR = gandiSecondary;
+ notify = providerSecondary;
+ provideXFR = providerSecondary;
};
ns = [