From 9ddc5c354782863eda24e25e2145bfebd3c4e3d9 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 17 Jan 2024 23:04:27 +0100 Subject: [PATCH] fix ipv6 for wireguard --- .../networking/dmz/zones/geokunis2.nl.nix | 17 ++++++++++++++++- nixos/modules/networking/dmz/zones/kun.is.nix | 6 +++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/nixos/modules/networking/dmz/zones/geokunis2.nl.nix b/nixos/modules/networking/dmz/zones/geokunis2.nl.nix index 438700b..8a32dc7 100644 --- a/nixos/modules/networking/dmz/zones/geokunis2.nl.nix +++ b/nixos/modules/networking/dmz/zones/geokunis2.nl.nix @@ -7,7 +7,7 @@ in SOA = { nameServer = "ns"; adminEmail = "hostmaster@geokunis2.nl"; - serial = 2024011400; + serial = 2024011401; }; NS = [ @@ -49,5 +49,20 @@ in A = [ publicIPv4 ]; AAAA = [ ]; }; + + wg = { + A = [ publicIPv4 ]; + AAAA = [ "2a0d:6e00:1a77::1" ]; + }; + + wg4 = { + A = [ publicIPv4 ]; + AAAA = [ ]; + }; + + wg6 = { + A = [ ]; + AAAA = [ "2a0d:6e00:1a77::1" ]; + }; }; } diff --git a/nixos/modules/networking/dmz/zones/kun.is.nix b/nixos/modules/networking/dmz/zones/kun.is.nix index 8bc23ff..6c20a49 100644 --- a/nixos/modules/networking/dmz/zones/kun.is.nix +++ b/nixos/modules/networking/dmz/zones/kun.is.nix @@ -9,7 +9,7 @@ in SOA = { nameServer = "ns1"; adminEmail = "webmaster@kun.is"; - serial = 2024011400; + serial = 2024011401; }; NS = [ @@ -46,8 +46,8 @@ in git = { A = [ publicIPv4 ]; AAAA = [ ]; - }; - + }; + # Override because we don't support IPv6 for KMS. kms = { A = [ publicIPv4 ];