1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: disable mdns on all vlans except services

This commit is contained in:
oddlama 2025-04-26 14:57:30 +02:00
parent d7b79ab6e9
commit 58f2c82b65
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@ in
matchConfig.Name = "vlan-${vlanName}"; matchConfig.Name = "vlan-${vlanName}";
networkConfig = { networkConfig = {
IPv6PrivacyExtensions = "yes"; IPv6PrivacyExtensions = "yes";
MulticastDNS = true; MulticastDNS = vlanName == "services";
}; };
linkConfig.RequiredForOnline = "routable"; linkConfig.RequiredForOnline = "routable";
}; };

View file

@ -112,7 +112,7 @@ in
matchConfig.Name = "me-${vlanName}"; matchConfig.Name = "me-${vlanName}";
networkConfig = { networkConfig = {
IPv6PrivacyExtensions = "yes"; IPv6PrivacyExtensions = "yes";
MulticastDNS = true; MulticastDNS = vlanName == "services";
}; };
linkConfig.RequiredForOnline = "routable"; linkConfig.RequiredForOnline = "routable";
}; };

View file

@ -140,7 +140,7 @@
IPv6SendRA = true; IPv6SendRA = true;
IPv6AcceptRA = false; IPv6AcceptRA = false;
# DHCPPrefixDelegation = true; # DHCPPrefixDelegation = true;
MulticastDNS = true; MulticastDNS = vlanName == "services";
}; };
# dhcpPrefixDelegationConfig.UplinkInterface = "wan"; # dhcpPrefixDelegationConfig.UplinkInterface = "wan";
# dhcpPrefixDelegationConfig.Token = "::ff"; # dhcpPrefixDelegationConfig.Token = "::ff";