From 03c40cd03745a3b9927a4bb24f62d049173bbced Mon Sep 17 00:00:00 2001 From: r-vdp Date: Fri, 27 Sep 2024 13:33:39 +0200 Subject: [PATCH] Add AAAA record and a CNAME for the monitoring server --- .../configuration.nix | 3 +++ .../nixosConfigurations.monitoring-0/configuration.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/modules/flake-parts/nixosConfigurations.dweb-reverse-tls-proxy/configuration.nix b/modules/flake-parts/nixosConfigurations.dweb-reverse-tls-proxy/configuration.nix index 472c3d8f..b5153b63 100644 --- a/modules/flake-parts/nixosConfigurations.dweb-reverse-tls-proxy/configuration.nix +++ b/modules/flake-parts/nixosConfigurations.dweb-reverse-tls-proxy/configuration.nix @@ -206,7 +206,10 @@ in signal-3.${fqdn2domain}. A ${self.nixosConfigurations.turn-3.config.services.tx5-signal-server.address} bootstrap-3.${fqdn2domain}. A ${self.nixosConfigurations.turn-3.config.services.kitsune-bootstrap.address} + monitoring.${fqdn2domain}. CNAME monitoring-0.${fqdn2domain}. monitoring-0.${fqdn2domain}. A ${self.nixosConfigurations.monitoring-0.config.passthru.primaryIpv4} + monitoring-0.${fqdn2domain}. AAAA ${self.nixosConfigurations.monitoring-0.config.passthru.primaryIpv6} + buildbot-nix-0.${fqdn2domain}. A ${self.nixosConfigurations.buildbot-nix-0.config.passthru.primaryIpv4} ''; }; diff --git a/modules/flake-parts/nixosConfigurations.monitoring-0/configuration.nix b/modules/flake-parts/nixosConfigurations.monitoring-0/configuration.nix index f346db01..21518007 100644 --- a/modules/flake-parts/nixosConfigurations.monitoring-0/configuration.nix +++ b/modules/flake-parts/nixosConfigurations.monitoring-0/configuration.nix @@ -42,5 +42,6 @@ passthru = { hostName = "monitoring-0"; primaryIpv4 = "135.181.110.69"; + primaryIpv6 = "2a01:4f9:c012:fd91::1"; }; }