Disable systemd-resolved DNS stub causing conflict

This commit is contained in:
coolneng 2025-08-27 07:23:42 +02:00
parent 3057f13858
commit 86fb493a80
Signed by: coolneng
GPG Key ID: 9893DA236405AF57

View File

@ -27,8 +27,8 @@ in
address = [ "192.168.128.2/23" ];
gateway = [ "192.168.128.1" ];
dns = [
"1.1.1.1"
"9.9.9.9"
"127.0.0.1"
"::1"
];
networkConfig.DNSSEC = "no";
};
@ -127,6 +127,16 @@ in
};
};
# Disable systemd-resolved DNS stub
services.resolved = {
enable = true;
llmnr = "false";
extraConfig = ''
MulticastDNS=yes
DNSStubListener=no
'';
};
# DNS server with ad-block
services.dnsmasq = {
enable = true;