diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-04-19 10:48:15 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-04-24 14:27:38 -0600 |
| commit | 1039d1d47a53be0c814a03608e94a9d0e8f4405b (patch) | |
| tree | a6cf802896f0ad41742354499df8063d9065eb02 /sys/ns/ptr/static-prefix-v6 | |
| parent | f4ed93ff7d01e659960b9cd3dc5bc3d6d6e27d01 (diff) | |
sys/ns: implement automatic PTR zones
Diffstat (limited to 'sys/ns/ptr/static-prefix-v6')
| -rw-r--r-- | sys/ns/ptr/static-prefix-v6/default.nix | 16 | ||||
| -rw-r--r-- | sys/ns/ptr/static-prefix-v6/serial.nix | 7 |
2 files changed, 23 insertions, 0 deletions
diff --git a/sys/ns/ptr/static-prefix-v6/default.nix b/sys/ns/ptr/static-prefix-v6/default.nix new file mode 100644 index 0000000..f02222c --- /dev/null +++ b/sys/ns/ptr/static-prefix-v6/default.nix @@ -0,0 +1,16 @@ +{ config, ... }: +let + inherit (config.local) nets; +in +{ + imports = [ + ./serial.nix + ]; + + config = { + localNS = { + enable = true; + ptrNet.v6 = "static-prefix"; + }; + }; +} diff --git a/sys/ns/ptr/static-prefix-v6/serial.nix b/sys/ns/ptr/static-prefix-v6/serial.nix new file mode 100644 index 0000000..c09a24a --- /dev/null +++ b/sys/ns/ptr/static-prefix-v6/serial.nix @@ -0,0 +1,7 @@ +{ + config = { + soa.serial = 2025042402; + nullSerialHash = "sha256-92c2046d390891a99618c5cf92efee1cda3549799ef26f1f0ca234e0a105aec8"; + }; +} + |
