Comments (7)
可能是openwrt禁止ipv6的ping了。
可以先看一下日志 /var/log/smartdns.log里面有没有ping相关的错误日志。
或者登录到路由器中,用ping6命令,试一下ping6是否正常工作。
from smartdns.
看过日志,并无报错,我并不是在路由上测试,ipv6应该是生效了,该装的都装了,按照正常设置生效了,软件需要优化还是要进行啥自定义设置?感觉并没有在v4和v6里选择最快的,直接选了v6,而且还比较慢
from smartdns.
可能是openwrt禁止ipv6的ping了。
可以先看一下日志 /var/log/smartdns.log里面有没有ping相关的错误日志。
或者登录到路由器中,用ping6命令,试一下ping6是否正常工作。
看过日志,并无报错,我并不是在路由上测试,ipv6应该是生效了,该装的都装了,按照正常设置生效了,软件需要优化还是要进行啥自定义设置?感觉并没有在v4和v6里选择最快的,直接选了v6,而且还比较慢
from smartdns.
可能是openwrt禁止ipv6的ping了。
可以先看一下日志 /var/log/smartdns.log里面有没有ping相关的错误日志。
或者登录到路由器中,用ping6命令,试一下ping6是否正常工作。
路由上如下:
root@OpenWrt:# ping www.outlook.com# ping6 2603:1046:c02:1060::2
PING www.outlook.com (40.100.54.210): 56 data bytes
64 bytes from 40.100.54.210: seq=0 ttl=239 time=45.564 ms
root@OpenWrt:
PING 2603:1046:c02:1060::2 (2603:1046:c02:1060::2): 56 data bytes
64 bytes from 2603:1046:c02:1060::2: seq=0 ttl=45 time=361.461 ms
64 bytes from 2603:1046:c02:1060::2: seq=1 ttl=45 time=361.703 ms
64 bytes from 2603:1046:c02:1060::2: seq=2 ttl=45 time=361.111 ms
64 bytes from 2603:1046:c02:1060::2: seq=3 ttl=45 time=361.361 ms
在电脑pc上如下:
正在 Ping outlook.ms-acdc.office.com [2603:1046:c02:1060::2] 具有 32 字节的数据:
来自 2603:1046:c02:1060::2 的回复: 时间=399ms
来自 2603:1046:c02:1060::2 的回复: 时间=403ms
来自 2603:1046:c02:1060::2 的回复: 时间=400ms
来自 2603:1046:c02:1060::2 的回复: 时间=410ms
路由设置作为dnsmaq上游,开启ipv6,大概就这样,软件正常running
from smartdns.
使用ipv4,还是ipv6现在是终端设备自己选择的。
smartdns并没有在Ipv4和ipv6间优化选择。
目前,终端请求IPV4地址,smartdns只能返回IPV4地址,不能返回IPV6地址。
同理,终端请求IPV6地址,也只能返回IPV6地址。
使用哪个地址决定权在终端,smartdns没有决定权。
当然,smartdns也可以做处理,强制返回地址不可用。
比如终端请求IPV4地址时,smartdns同时检测IPV4和IPV6地址,如果IPV4地址快,就返回IPV4,如果IPV6快,就返回SOA,表示IPV6不可用。这样终端就会重新请求IPV6地址。smartdns返回IPV6这时就对了。
终端请求IPV6地址时,也可以用同样方法,返回IPV4地址。
当然,还要细化考虑。
from smartdns.
当前情况,IPV6并不是很成熟,可以考虑直接禁用IPV6试试,强制使用IPV4地址。
也就是配置force-AAAA-SOA yes。
from smartdns.
Release 18增加了双栈IP优选策略。
配置参数为dualstack-ip-selection yes
如需要设置自定义优选阈值,请使用配置
dualstack-ip-selection-threshold
from smartdns.
Related Issues (20)
- APT仓库内的软件版本已过时 HOT 3
- 域名设置address规则返回soa,audit无记录,Bug吗? HOT 1
- domain-rules -no-serve-expired 选项依赖 “speed-check-mode none”
- 双栈优选能否强制指定IPv6 HOT 7
- 什麼狀況緩存紀錄會被踢掉?:serve-expired-ttl 0 HOT 6
- 莫名其妙的丢一些 DNS 解析 HOT 23
- immortalwrt23.05.1安装smartdns失败 HOT 5
- 同步最新的代码后编译失败了 HOT 3
- HTTP 400 Bad Request for DOH ordns.he.net HOT 2
- commit: 5d76934d8359e6894ad9a5f4465cbf216a5dbc02 编译报错!
- Mullvad DNS HOT 1
- Total speed check failure shouldn't be cached HOT 1
- ipset-timeout问题 HOT 3
- 开启缓存后,如果某个域名被污染了,即使修改了该域名的 domain-rules 规则,也无法快速更新缓存文件中的被污染域名结果 HOT 1
- domain-rules的group参数问题 HOT 5
- speed-check-mode使用问题 HOT 34
- CNAME doesn't follow domain-rules HOT 4
- nft 添加 ipset 错误 HOT 5
- 网赌被黑了不给提款怎么办?解决微:lyh20085150 HOT 2
- 软路由运行4天后 Smartdns卡死崩溃 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartdns.