Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

WiFi环境下IPv6 DNS泄露 #64

@zym013579

Description

@zym013579

使用的是Xray4Magisk v3.4.6
相关设置:
本地的网是联通的,xray配置了doh的alidns和googledns,将dnsleaktest.com强制用googledns解析

表现:
使用数据时不会泄露;
使用WiFi,关闭IPv6功能时一切正常,开启IPv6后dnsleaktest检测到联通dns,访问Google也会被解析到Facebook的IP地址
tproxy和tun2socks都有这个问题
开启IPv6,并且在标记的内网地址中填写fe80::1/64后不会泄露,但ipv6访问会出问题

其他信息:
WiFi环境下,手机从路由器获取到的首选DNS地址为私网地址:fe80::xxxx:xxxx:xxxx%wlan0,这里貌似被指定了接口,不清楚有没有关系
数据环境下,首选DNS和备选DNS为公网ipv4地址,DNS3和DNS4为公网ipv6地址

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions