Configure gai.conf to prefer IPv6

This commit is contained in:
2023-03-30 19:52:20 -04:00
parent 01c175018f
commit 9a72402457
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -204,6 +204,7 @@ fi
echo -e ""$username" soft memlock 64\n"$username" hard memlock 2097152\n"$username" hard nofile 524288\n# End of file" > /etc/security/limits.conf # increase memlock and add support for esync
mkdir -p /home/"$username"/.gnupg
echo 'pinentry-program /usr/bin/pinentry-tty' > /home/"$username"/.gnupg/gpg-agent.conf # forces gpg prompts to use terminal input
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/gai.conf -o /etc/gai.conf # configure gai to prefer IPv6
pacman -S neofetch htop --needed --noconfirm
rc-update add local default
+9
View File
@@ -0,0 +1,9 @@
# Configuration for getaddrinfo(3).
label ::1/128 0
label ::/0 1
label 2002::/16 2
label ::/96 3
label ::ffff:0:0/96 4
label fec0::/10 5
label fc00::/7 6
label 2001:0::/32 7