Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用数据网络时没有默认dns #8

Open
toolyq opened this issue Feb 3, 2024 · 2 comments
Open

使用数据网络时没有默认dns #8

toolyq opened this issue Feb 3, 2024 · 2 comments

Comments

@toolyq
Copy link

toolyq commented Feb 3, 2024

使用数据网络时没有默认的ipv4 dns,只有ipv6的dns,
被强制转换为模式2,同时所有网络都不可用。
有什么办法可以解决?

执行test.sh输出如下:
..........
DnsAddresses: [ /2607:f798:18:10:0:640:7125:5254,/2607:f798:18:10:0:640:7125:5253 ] Domains: null MTU: 1460 TcpBufferSizes: 2097152,6291456,16777216,512000,2097152,8388608 Routes: [ ::/0 -> :: rmnet1 mtu 1460,2605:8d80:1399:a9f5::/64 -> :: rmnet1 mtu 0 ] Nat64Prefix: 2604:5580:22::/96 Stacked: [[ {InterfaceName: v4-rmnet1 LinkAddresses: [ 192.0.0.4/32 ] DnsAddresses: [ ].............

@toolyq
Copy link
Author

toolyq commented Feb 3, 2024

数据apn 换成只用ipv4也不行。

@toolyq
Copy link
Author

toolyq commented Feb 3, 2024

这个模块很好用。谢谢作者。
换了个apn地址后获取到ipv4的dns后可以了,话说什么时候可以支持ipv6?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant