1
0
Fork 0

nixbld: disable IPv6 DAD

dnsmasq silently stops sending RAs on interfaces where DAD has kicked in, which creates very annoying obscure network
problems for everyone (e.g. IPv6 default route deleted 30min after boot) when an address conflict has occured,
even after the address conflict is no longer present.
nixbld should have authority on LAN IP addresses anyway.
This commit is contained in:
Sebastien Bourdeauducq 2021-03-14 17:02:09 +08:00
parent 58f613a2cf
commit fbda8b0643
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ in
}; };
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1"; boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1";
boot.kernel.sysctl."net.ipv6.conf.default.forwarding" = "1"; boot.kernel.sysctl."net.ipv6.conf.default.forwarding" = "1";
boot.kernel.sysctl."net.ipv6.conf.all.accept_dad" = "0";
boot.kernel.sysctl."net.ipv6.conf.default.accept_dad" = "0";
services.unbound = { services.unbound = {
enable = true; enable = true;