Clean up a bit of documentation

This commit is contained in:
2026-01-21 22:22:27 +01:00
parent 55d921f3e0
commit 392dbcbbb7
3 changed files with 9 additions and 6 deletions

View File

@@ -56,8 +56,12 @@ roundrobin.pvv.ntnu.no. IN AAAA 2001:700:300:1900::202
## Future plans
- Also generate DHCP server configurations
- Automate serial generation
- Build and verify with CI/CD
- Automatically push updated configurations to the DNS server
- Replace dns.nix with homemade zonefile generators to make them more human readable
- Host-customizable TTL (e.g. for moving a CNAME around when replacing a service/server)
- Also generate DNS server configuration files
- [NSD](https://nlnetlabs.nl/projects/nsd/about/), included in OpenBSD
- [Bind9](https://www.isc.org/bind/), common alternative
- Per-record or per-host customizable TTL (e.g. for moving a CNAME around when replacing a service/server)
- Improve dns.nix or replace it with a homemade zonefile generator to make the output more human readable
- Also generate DHCP server configurations

View File

@@ -27,6 +27,4 @@ stdenvNoCC.mkDerivation {
''
+ (lib.concatMapAttrsStringSep "\n" (name: path: "cp ${path} $out/zones/${name}.zone") zoneConfigs);
# TODO: Write named.conf to include the zones, set allow-transfer, etc.
}

View File

@@ -6,7 +6,8 @@ let
domainSuffix = ".pvv.ntnu.no.";
pvvHostRecords = import ../pvv-host-forwards.nix { inherit dns lib; };
# Find all the A-records pointing into the PVV-network, and generate the opposing PTR records
# Find all the A-records pointing into the PVV subnet, and generate the opposing PTR records
# TODO: Handle duplicates? Avoid NVG-IPs?
pvvHostReverseRecords = builtins.listToAttrs (
lib.concatLists (