summaryrefslogtreecommitdiff
path: root/etc/gai.conf
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-08-14 17:14:57 +0000
committerXiao Pan <xyz@flylightning.xyz>2025-08-14 17:16:08 +0000
commitdfbe0ff334e1ec40ad3aa487b0f38ab9d14f8aac (patch)
tree68afa9c9b16587c69b2956b992975c90e846eddb /etc/gai.conf
parentebcd2ea7e009c2aa5b13fba6d1f270ba887355cf (diff)
prefer ipv4 because VPS provider cancelled ipv6
This is a workaround, a more proper way to deal with it is to remove those ipv6 configs in network configs. But I would like to wait to see if in the future ipv6 will work again or not. Using this workaround, I don't need to change too much configs. Also ping and wireguard should work with this workaround.
Diffstat (limited to 'etc/gai.conf')
-rw-r--r--etc/gai.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/gai.conf b/etc/gai.conf
index 4616ed00..ac96e422 100644
--- a/etc/gai.conf
+++ b/etc/gai.conf
@@ -51,7 +51,7 @@
#
# For sites which prefer IPv4 connections change the last line to
#
-#precedence ::ffff:0:0/96 100
+precedence ::ffff:0:0/96 100
#
# scopev4 <mask> <value>