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.
This commit is contained in:
Eli Ribble 2024-07-31 17:05:26 +00:00
parent 6763a973a0
commit 4dd10a99a1
1 changed files with 3 additions and 1 deletions

View File

@ -225,7 +225,9 @@
# Enable the Unifi controller service # Enable the Unifi controller service
#services.unifi.enable = true; #services.unifi.enable = true;
#services.unifi.unifiPackage = pkgs.unifi8; #services.unifi.unifiPackage = pkgs.unifi8;
networking.extraHosts = ''
127.0.0.1 home.arpa
'';
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall = { networking.firewall = {
enable = true; enable = true;