Last active
November 6, 2023 15:43
-
-
Save hackjutsu/d189a0cc489d54e3920041e1231fb179 to your computer and use it in GitHub Desktop.
[IPv4 over IPv6 on Ubuntu] Solved the issue when connecting to archive.ubuntu.com takes too long. Edit /etc/gai.conf and uncomment line 4, which lets you keep IPv6 enabled, but sets the order of precedence to prefer IPv4 over IPv6. (http://askubuntu.com/a/354886) #tags: ubuntu, bittiger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# For sites which prefer IPv4 connections change the last line to | |
# | |
precedence ::ffff:0:0/96 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment