From 5376c91f35f21fbd4fc43d7336e0f30d5fe55299 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 11 Jun 2024 15:49:18 +0200 Subject: [PATCH] coredns: Split TailScale blocks for datarift.nl and everything else --- machines/valkyrie/coredns/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/machines/valkyrie/coredns/default.nix b/machines/valkyrie/coredns/default.nix index de64702..e2c64f5 100644 --- a/machines/valkyrie/coredns/default.nix +++ b/machines/valkyrie/coredns/default.nix @@ -4,13 +4,20 @@ enable = true; config = '' - .:5454 { + datarift.nl:5454 { bind lo reload 5s tailscale datarift.nl { authkey {$TS_AUTHKEY} fallthrough } + log + debug + errors + } + .:5454 { + bind lo + reload 5s forward . 127.0.0.1:5335 log debug