Enable DNSSEC and mDNS for DNS resolution

This commit is contained in:
coolneng 2023-08-16 03:26:23 +02:00
parent 35d0196e66
commit ebc7620407
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 9 deletions

View File

@ -25,7 +25,6 @@ in {
# Disable DNSSEC and enable mDNS
services.resolved = {
enable = true;
dnssec = "false";
llmnr = "false";
extraConfig = ''
MulticastDNS=yes
@ -52,10 +51,7 @@ in {
address = [ "192.168.13.131/24" ];
gateway = [ "192.168.13.1" ];
dns = [ "192.168.13.2" ];
networkConfig = {
DNSSEC = "no";
MulticastDNS = "yes";
};
networkConfig.MulticastDNS = "yes";
};
systemd.network.networks."25-home" = {
@ -67,10 +63,7 @@ in {
address = [ "192.168.13.3/24" ];
gateway = [ "192.168.13.1" ];
dns = [ "192.168.13.2" ];
networkConfig = {
DNSSEC = "no";
MulticastDNS = "yes";
};
networkConfig.MulticastDNS = "yes";
};
# VPN setup
@ -100,6 +93,7 @@ in {
DNS = "10.8.0.1";
DNSDefaultRoute = true;
Domains = "~.";
MulticastDNS = "yes";
};
routingPolicyRules = [{
routingPolicyRuleConfig = {