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

1.2024.v46.0.7-1.2024.v46.0.9上游设置为doh且经过socks5时,解析限速到大约10次/S #1805

Open
yyysuo opened this issue Aug 22, 2024 · 3 comments

Comments

@yyysuo
Copy link

yyysuo commented Aug 22, 2024

问题现象
上游设置为doh且经过socks5时,解析限速到大约10次/S,[Release 46]是没有问题的(https://github.com/pymumu/smartdns/releases/tag/Release46)

运行环境

  1. 固件型号
    QWRT R24.6.1 / LuCI Master (git-24.141.58422-8db02ef) 6.8.12

  2. 运营商
    中国联通

  3. smartdns来源以及版本 1.2024.v46.0.7-1.2024.v46.0.9,更早的版本没有测试。
    https://github.com/PikuZheng/smartdns/releases

  4. 涉及的配置(注意去除个人相关信息)
    server-name smartdnsfallback
    dualstack-ip-selection no
    serve-expired yes
    cache-persist yes
    prefetch-domain yes
    cache-size 1000000
    speed-check-mode none
    response-mode fastest-response
    log-size 64K
    log-num 1
    log-level error
    audit-size 64K
    audit-num 1
    serve-expired-ttl 259200
    serve-expired-reply-ttl 3
    cache-checkpoint-time 3600
    cache-file /etc/smartdnsfallback/smartdns.cache
    bind :6688
    bind-tcp :6688
    proxy-server socks5://127.0.0.1:7891 -name socks5
    server-https https://8.8.8.8/dns-query -proxy socks5 -subnet 123.232.157.1/24

重现步骤

  1. 上游DNS配置。
    proxy-server socks5://127.0.0.1:7891 -name socks5
    server-https https://8.8.8.8/dns-query -proxy socks5 -subnet 123.232.157.1/24

  2. 访问的域名。
    https://browserleaks.com/dns
    此域名会并发100次/S以上的dns查询,前10次左右会成功,后面的全部rcode 2了。
    信息收集

  3. 将/var/log/smrtdns.log日志作为附件上传(注意去除个人相关信息)。

  4. 如进程异常,请将coredump功能开启,上传coredump信息文件,同时上传配套的smartdns进程文件。
    在自定义界面,开启设置->自定义设置->生成coredump配置,重现问题后提交coredump文件
    coredump文件在/tmp目录下

@pymumu
Copy link
Owner

pymumu commented Aug 23, 2024

超过10会什么错误?

@yyysuo
Copy link
Author

yyysuo commented Aug 23, 2024

2. rcode 2

rcode 2 SERVFAIL

@pymumu
Copy link
Owner

pymumu commented Aug 23, 2024

发配置和log把,这块没改过什么

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

2 participants