From 3816e6fc5d5037dbe40a6d313d62f16611573716 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 24 Feb 2024 13:22:17 +0100 Subject: [PATCH] authoritative-dns: Add renge, yuzuru to secondaries --- machines/renge/services/prometheus.nix | 4 +++- modules/authoritative-dns.nix | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/machines/renge/services/prometheus.nix b/machines/renge/services/prometheus.nix index 495bf16..f36c6b9 100644 --- a/machines/renge/services/prometheus.nix +++ b/machines/renge/services/prometheus.nix @@ -136,8 +136,10 @@ in { job_name = "knot"; static_configs = mkStaticTargets [ - "okarin.vpn.sbruder.de:9433" "vueko.vpn.sbruder.de:9433" + "renge.vpn.sbruder.de:9433" + "okarin.vpn.sbruder.de:9433" + "yuzuru.vpn.sbruder.de:9433" ]; relabel_configs = lib.singleton { target_label = "instance"; diff --git a/modules/authoritative-dns.nix b/modules/authoritative-dns.nix index 954be90..fd3ec3a 100644 --- a/modules/authoritative-dns.nix +++ b/modules/authoritative-dns.nix @@ -7,14 +7,16 @@ let cfg = config.sbruder.knot; primaryHost = "vueko"; - secondaryHosts = [ "okarin" ]; + secondaryHosts = [ "renge" "okarin" "yuzuru" ]; isPrimaryHost = config.networking.hostName == primaryHost; isSecondaryHost = lib.elem config.networking.hostName secondaryHosts; addresses = { vueko = [ "168.119.176.53" "2a01:4f8:c012:2f4::1" ]; + renge = [ "152.53.13.113" "2a03:4000:6b:d2::1" ]; okarin = [ "82.165.242.252" "2001:8d8:1800:8627::1" ]; + yuzuru = [ "85.215.73.203" "2a02:247a:272:1600::1" ]; }; in {