From 23e1a21429666d7b0bab13da01b88ce0641c4965 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 23 Apr 2024 19:31:04 +0200 Subject: [PATCH] valkyrie: Route Tailscale hosts through coredns --- machines/valkyrie/blocky/default.nix | 1 + machines/valkyrie/coredns/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/machines/valkyrie/blocky/default.nix b/machines/valkyrie/blocky/default.nix index 350e147..4f956b9 100644 --- a/machines/valkyrie/blocky/default.nix +++ b/machines/valkyrie/blocky/default.nix @@ -10,6 +10,7 @@ upstreams = { groups = { default = [ "127.0.0.1:5335" ]; + "100.64.0.0/10" = [ "127.0.0.1:5454" ]; }; }; diff --git a/machines/valkyrie/coredns/default.nix b/machines/valkyrie/coredns/default.nix index 49dc16b..0087d5f 100644 --- a/machines/valkyrie/coredns/default.nix +++ b/machines/valkyrie/coredns/default.nix @@ -18,6 +18,7 @@ tailscale datarift.nl { authkey {$TS_AUTHKEY} } + forward . 127.0.0.1:5335 log errors }