Enable DNSSEC and mDNS for DNS resolution
This commit is contained in:
parent
35d0196e66
commit
ebc7620407
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue