Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Advertise DNS server on IPv6

+7 -1
+7 -1
modules/router/network.nix
··· 262 262 Token = "static:::1"; 263 263 Announce = true; 264 264 }; 265 + ipv6SendRAConfig = mkIf cfg.ipv6 { 266 + EmitDNS = true; 267 + DNS = "_link_local"; 268 + }; 265 269 ipv6Prefixes = mkIf (cfg.ipv6 && intern.cidrV6 != null) [ 266 270 { 267 271 Prefix = intern.cidrV6; ··· 326 330 }) 327 331 (mkIf (intern != null) { 328 332 DNSStubListener = true; 329 - DNSStubListenerExtra = ipv4.prettyIp (ipv4.cidrToIpAddress intern.cidr); 333 + DNSStubListenerExtra = [ 334 + (ipv4.prettyIp (ipv4.cidrToIpAddress intern.cidr)) 335 + ] ++ (optionals cfg.ipv6 [ "::" ]); 330 336 }) 331 337 ]; 332 338 };