Disable the stub resolved listener.

I want pihole to bind all available addresses itself, without listing
them, so I need all the port 53s to be free on all addresses. This will
also mean that the server itself will go through pihole.
This commit is contained in:
Eli Ribble 2024-08-16 17:47:25 -07:00
parent 5bed23c073
commit 5848437e3f
1 changed files with 7 additions and 0 deletions

View File

@ -183,6 +183,13 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
# Disable the resolved stub listener, let Pihole do it
services.resolved = {
extraConfig = ''
DNSStubListener=no
'';
};
# Set up a samba share for the scanner # Set up a samba share for the scanner
services.samba = { services.samba = {
enable = true; enable = true;