From 4dd10a99a1af22bcf74555c73ac066bd6932409d Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 31 Jul 2024 17:05:26 +0000 Subject: [PATCH] Add resolution for this server to itself. Within my home networks home.arpa resolves to DNS for the home domain. From there the pihole service will provide DNS for all the connected clients and custom service names. --- quinn/etc/nixos/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quinn/etc/nixos/configuration.nix b/quinn/etc/nixos/configuration.nix index 38bf555..93db27b 100644 --- a/quinn/etc/nixos/configuration.nix +++ b/quinn/etc/nixos/configuration.nix @@ -225,7 +225,9 @@ # Enable the Unifi controller service #services.unifi.enable = true; #services.unifi.unifiPackage = pkgs.unifi8; - + networking.extraHosts = '' + 127.0.0.1 home.arpa + ''; # Open ports in the firewall. networking.firewall = { enable = true;