IMIDC Looking Glass
帮助文章Guide · 2026-11-16

IPv4 + IPv6 双轨护航:用 IPv6 解锁你的业务IPv4 + IPv6, dual-track: unlock your services over IPv6

服务器同时拥有 IPv4 和 IPv6 时,系统会让支持 IPv6 的网站优先走 IPv6,其余网站照常走 IPv4。当某些服务(例如 Google)对 IPv4 的地区判断出现偏差时,IPv6 往往能识别为正确地区,YouTube Premium、Gemini 等服务就能正常使用。

When a server has both IPv4 and IPv6, the system uses IPv6 for every site that supports it and keeps IPv4 for the rest. If a service such as Google misjudges where your IPv4 is, IPv6 usually gets the region right, so YouTube Premium, Gemini and similar services work normally.

为什么 IPv4 会被认错地区Why an IPv4 address can be placed in the wrong region

Google 等服务不只看 IP 的注册信息,还会用自己的定位数据,根据一段 IP 的实际使用情况判断地区。一段 IPv4 如果被大量跨地区使用,整段都可能被判到别的地方。这与服务器本身的位置和线路无关,服务器仍在原来的机房,速度和稳定性也不受影响。

Google and similar services don't rely only on registration data: they use their own location data and judge a range by how its addresses are actually used. If an IPv4 range sees heavy use from other regions, the whole range can be placed somewhere else. That says nothing about the server itself, which stays in the same data center with the same speed and stability.

IPv6 地址数量大、按更细的范围分配,定位通常更准确,所以同一台服务器走 IPv6 时,往往能被识别为真实所在地。

IPv6 addresses are plentiful and handed out in finer blocks, so their location data tends to be more precise. Over IPv6, the same server is usually recognized where it really is.

实测:韩国机房 IPv4 与 IPv6 对比Measured: IPv4 vs IPv6 in our Korea data center

服务ServiceIPv4IPv6
YouTube Premium地区识别有偏差Region misjudged✅ 识别为韩国✅ Seen as Korea(GL=KR)
Google Gemini地区识别有偏差Region misjudged✅ 识别为韩国✅ Seen as Korea(KOR)
Netflix✅ 美区完整片库✅ Full US catalog✅ 韩国区完整片库✅ Full Korea catalog
ChatGPT · Claude · Copilot✅ 可用✅ Available✅ 可用✅ Available
Prime Video · TikTok✅ 韩国区✅ Korea暂不支持 IPv6,自动走 IPv4No IPv6 yet; IPv4 is used automatically

测试时间 2026-11-16,测试方法与韩国节点解锁报告相同。可以看到:支持 IPv6 的服务走 IPv6 后识别正确,不支持 IPv6 的服务自动留在 IPv4,两条线路互为补充。

Tested on 2026-11-16 with the same method as the Korea unlock report. Services that support IPv6 see the right region over IPv6, and services without IPv6 simply stay on IPv4: the two tracks cover each other.

三步开通双轨Three steps to dual-track

  1. 免费获取 IPv6:在控制面板为服务器申请 IPv6(韩国机房已支持,免费),分配后重启服务器,让新的网络配置生效。Get IPv6, free: request IPv6 for your server in the control panel (available in Korea at no charge), then reboot so the new network settings take effect.
  2. 确认 IPv6 可用:在服务器上执行下面的命令,应显示服务器的 IPv6 地址和所在国家。Check that IPv6 works: run the command below on the server; it should print the server's IPv6 address and its country.
curl -6 -s https://www.cloudflare.com/cdn-cgi/trace | grep -E '^(ip|loc)='
  1. 确认 Google 已走 IPv6:下面的命令应显示 "INNERTUBE_CONTEXT_GL":"KR"(服务器所在国家代码)。Check that Google uses IPv6: the command below should print "INNERTUBE_CONTEXT_GL":"KR" (the server's country code).
curl -6 -s https://www.youtube.com/premium | grep -o '"INNERTUBE_CONTEXT_GL":"[A-Z]*"'
Linux 默认就会优先使用 IPv6,不需要额外设置。如果之前改过 /etc/gai.conf,并加了 precedence ::ffff:0:0/96 100 这一行(IPv4 优先),把它注释掉即可恢复 IPv6 优先。Linux prefers IPv6 by default, so nothing else is needed. If you once edited /etc/gai.conf and added precedence ::ffff:0:0/96 100 (IPv4 first), comment that line out to go back to IPv6 first.

双轨护航的好处Why run both

常见问题FAQ

IPv6 不通怎么办?执行 ip -6 addr show scope global,如果看到两个公网 IPv6 地址、其中一个带 dynamic,说明系统自动生成了多余的地址。在网卡配置中关闭自动配置(netplan 写 accept-ra: false,Debian 的 /etc/network/interfaces 写 accept_ra 0),然后重启服务器。仍不通请提交工单。

IPv6 doesn't work? Run ip -6 addr show scope global. If you see two public IPv6 addresses and one says dynamic, the system generated an extra address. Turn off auto-configuration in the network settings (accept-ra: false in netplan, accept_ra 0 in Debian's /etc/network/interfaces) and reboot. If it still fails, open a support ticket.

怎样减少 IPv4 被认错的机会?Google 是根据一段 IP 的使用情况来判断地区的,避免让大量其他地区的设备长期共用同一个 IP 会有帮助,但没有办法完全保证。开通 IPv6 是最省心的做法。

How do I keep my IPv4 from being misjudged? Google judges a range by how it is used, so it helps not to have many devices from other regions share one IP for long, though nothing can guarantee it. Turning on IPv6 is the low-effort fix.

账号显示的地区也会变吗?不会。Google 账号、订阅和付款资料里的国家由账号本身决定,IPv6 只影响网络连接被识别的地区。

Does my account's country change too? No. The country on a Google account, subscription or payment profile belongs to the account; IPv6 only changes where your connection is seen.

← 查看韩国节点解锁报告← Korea unlock report