From d8f2392f80c0650988e68efae2098100c6b33924 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 5 Sep 2026 12:45:03 +0200 Subject: [PATCH] Point fujin DNS at OPNsense Old 192.168.1.x Pi-hole/router nameservers returned NXDOMAIN for the homelab.lan zone; use the OPNsense Unbound resolver (192.168.100.1) with 1.1.1.1 fallback. Bare http://karate.homelab.lan now resolves and serves on port 80. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- machines/fujin/main/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/machines/fujin/main/default.nix b/machines/fujin/main/default.nix index 87720fa..687f229 100644 --- a/machines/fujin/main/default.nix +++ b/machines/fujin/main/default.nix @@ -66,9 +66,11 @@ }; networking = { + # OPNsense (192.168.100.1) runs Unbound with the homelab.lan overrides; + # the old 192.168.1.x Pi-hole/router are gone and returned NXDOMAIN for + # the local zone. 1.1.1.1 stays as a fallback if the firewall is down. nameservers = [ - "192.168.1.2" # PyHole - "192.168.1.1" # Router + "192.168.100.1" # OPNsense Unbound "1.1.1.1" ]; dhcpcd.extraConfig = ''