Skip to content

Instantly share code, notes, and snippets.

View ihoromi4's full-sized avatar

Ihor Omelchenko ihoromi4

View GitHub Profile
@hackjutsu
hackjutsu / gai.config
Last active November 6, 2023 15:43
[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
#
# For sites which prefer IPv4 connections change the last line to
#
precedence ::ffff:0:0/96 100