nsd: set source IP, add xfr from deckard.nvg.ntnu.no
All checks were successful
Build and test / build (push) Successful in 1m4s
Build and test / test (push) Successful in 19s
Build and test / deploy (push) Successful in 23s

This commit is contained in:
2026-02-10 00:27:56 +01:00
parent b351e8603b
commit d8a771b76a

View File

@@ -1,4 +1,7 @@
{ pkgs, ... }:
let
sourceIP = "129.241.210.211"; # dvask.pvv.ntnu.no
in
pkgs.writeText "nsd.conf" (
''
# Generated by https://git.pvv.ntnu.no/felixalb/PVV-DNS
@@ -9,6 +12,7 @@ pkgs.writeText "nsd.conf" (
verbosity: 1
logfile: /var/log/nsd.log
database: "" # disable database
ip-address: ${sourceIP}
minimal-responses: yes
rrl-ratelimit: 200
rrl-ipv4-prefix-length: 32
@@ -33,6 +37,9 @@ pkgs.writeText "nsd.conf" (
# ns2.ntnu.no
provide-xfr: 129.241.0.209 NOKEY
provide-xfr: 2001:700:300::209 NOKEY
# deckard.nvg.ntnu.no
provide-xfr: 129.241.210.82 NOKEY
provide-xfr: 2001:700:300:2000::82 NOKEY
# swix.nvg.ntnu.no
provide-xfr: 129.241.210.66 NOKEY
provide-xfr: 2001:700:300:2000:a00:20ff:fec0:be40 NOKEY