1
1
Fork 0

networking: prefer ipv4 over ipv6

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-14 14:47:01 -06:00
parent a0b9cde065
commit 7cb1b981ca
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -88,6 +88,11 @@ in {
];
};
# https://wiki.archlinux.org/title/IPv6#Prefer_IPv4_over_IPv6
environment.etc."gai.conf".text = ''
precedence ::ffff:0:0/96 100
'';
#!! Override nsswitch.conf resolution order
#!! nss-resolve blocks some modules after [!UNAVAIL=return]
# https://wiki.archlinux.org/title/Systemd-resolved#systemd-resolved_not_searching_the_local_domain