Comments (9)
都有可能
哪个慢就丢弃哪个
from smartdns.
@pymumu 这个参数大小是什么
from smartdns.
@pymumu 这个参数大小是什么
你是说取值范围吗?最小0最大1000
Lines 5982 to 5983 in 75649b6
from smartdns.
@pymumu 这个参数大小是什么
你是说取值范围吗?最小0最大1000
Lines 5982 to 5983 in 75649b6
不是 取值范围
是这个参数 大小意义是什么
比如 v4比v6快10 还是什么
from smartdns.
其实 还是想要有一会参数 比如ipv4优先
或者ipv6优先
我翻了翻 看很多人也是需要这个功能
from smartdns.
是这个参数 大小意义是什么
比如 v4比v6快10 还是什么
正确的。就是ipv4和ipv6测速的速度差值如果超过这个threshold,则丢弃较慢的那个
参考 #332 (comment) , #1074 (comment)
from smartdns.
双栈有困扰的 建议设置为5
有效
from smartdns.
都有可能 哪个慢就丢弃哪个
不对吧,不是 ipv6 比 ipv4 慢于这个参数值就丢掉 ipv6 吗?
正常情况下应该是同时返回 ipv6 和 ipv4 的,因为客户端一般默认 ipv6 优先
设置dualstack-ip-allow-force-AAAA yes
才会只返回 ipv6 吧
from smartdns.
都有可能 哪个慢就丢弃哪个
不对吧,不是 ipv6 比 ipv4 慢于这个参数值就丢掉 ipv6 吗?
正常情况下应该是同时返回 ipv6 和 ipv4 的,因为客户端一般默认 ipv6 优先
设置
dualstack-ip-allow-force-AAAA yes
才会只返回 ipv6 吧
配置步骤
使用dualstack-ip-selection配置启用双栈优选
dualstack-ip-selection yes
如需要倾向使用IPV6,则可以使用dualstack-ip-selection-threshold进行阈值调整
dualstack-ip-selection-threshold 10
注意:
单位为ms,两个IP地址的速度阈值大于配置值时,才会进行优选。
允许纯IPV6地址。
smartdns默认情况下总是会返回IPV4地址,原因是某些软件不具备IPV6的访问能力,但如果确实需要使用纯IPV6地址,可以设置允许smartdns仅优选IPV6。
dualstack-ip-allow-force-AAAA yes
from smartdns.
Related Issues (20)
- 如何理解address配置项末尾的-参数? HOT 2
- docker版本升级问题 HOT 3
- Smart dns with guest network HOT 1
- 请问如何cf只返回v4屏蔽v6 HOT 2
- 分组上游DNS不通了,验证分组里面的域名默认DNS无法提供解析 HOT 2
- 不支持设置 .uk 域名的IP地址 HOT 2
- smartdns 升级到46后,Server名字变成了127.0.0.1 如何改回smartdns名字? HOT 4
- 要不要加上这个ustc黑名单 HOT 2
- 测速模式配置优先级的问题 HOT 2
- domain-rule 不生效 HOT 1
- 为 UDP 的监听端口设置 `SO_REUSEADDR` HOT 17
- 现在是全局过滤type65吗 HOT 6
- Docker什么时候支持最新版本 HOT 1
- 请教luci设置和自定义配置里上游服务器优先级的问题 HOT 5
- server 8.8.8.8 -subnet [广东电信IP] 广东电信IP如何填写呀 HOT 1
- 我不知道smartDNS是否生效了 HOT 2
- 由45版本升级至46版本后,由规则组文件内引入的域名集合文件,域名指定server组解析不再生效 HOT 7
- 1.2024.v46.0.7-1.2024.v46.0.9上游设置为doh且经过socks5时,解析限速到大约10次/S HOT 3
- 测速模式和响应模式参数配置优先级问题 HOT 13
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.