fix(networking): disable IPv6 preference again

By default the system will already prefer IPv6 if possible without
causing issues e.g. with NAT.

I did indeed experience some issues with IPv6 requrests having a huge
delay using Tailscale.

The following article contains a detailed explanation about this issue:
https://www.ietf.org/archive/id/draft-buraglio-6man-rfc6724-update-03.html
This commit is contained in:
Felix Schröter 2024-01-12 21:51:05 +01:00
parent dba8a2064b
commit 096f641fa5
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -36,13 +36,4 @@
systemd.services.dnscrypt-proxy2.serviceConfig = {
StateDirectory = lib.mkForce "dnscrypt-proxy2";
};
# prefer IPv6
environment.etc."gai.conf".text = ''
label ::1/128 0
label ::/0 1
label 2002::/16 2
label ::/96 3
label ::ffff:0:0/96 4
'';
}