From 97af0dfd02fdceb1dc05792d7af1009236d05ae4 Mon Sep 17 00:00:00 2001 From: geemili Date: Sun, 7 Jan 2024 09:16:46 -0700 Subject: [PATCH] fix: dns: use NAT ip for general DNS, override A record in headscale --- configuration.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index 72dd99a..e1c414f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -139,7 +139,7 @@ "nextcloud.samsehu.perli.casa" = "samsehu.perli.casa"; }; mapping = { - "samsehu.perli.casa" = "100.64.0.3"; + "samsehu.perli.casa" = "192.168.0.69"; }; }; }; @@ -283,10 +283,9 @@ restricted_nameservers = { "samsehu.perli.casa" = [ "100.64.0.3" ]; }; - # extra_records = [ - # { name = "cockpit.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } - # { name = "lldap.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } - # ]; + extra_records = [ + { name = "samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } + ]; }; acl_policy_path = pkgs.writeText "acl_policy.hujson" ''