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

为什么加了domain-set就无法解析了? #1847

Open
Leavesr opened this issue Oct 30, 2024 · 2 comments
Open

为什么加了domain-set就无法解析了? #1847

Leavesr opened this issue Oct 30, 2024 · 2 comments

Comments

@Leavesr
Copy link

Leavesr commented Oct 30, 2024

问题现象
简要描述问题出现的现象

运行环境

  1. 固件型号
    padavan

  2. 运营商
    中国联通

  3. smartdns来源以及版本
    v46

  4. 涉及的配置(注意去除个人相关信息)

server-name smartdns
response-mode first-ping
speed-check-mode ping,tcp:80,tcp:443

bind [::]:53 -group cn
bind [::]:5335 -no-speed-check

cache-size 5120
cache-persist yes
cache-file /tmp/smartdns.cache

prefetch-domain yes
serve-expired yes

force-qtype-SOA 65

dualstack-ip-allow-force-AAAA yes
dualstack-ip-selection yes
dualstack-ip-selection-threshold 10

log-level error
log-file /tmp/smartdns.log
log-size 64k
log-num 1

server 202.38.93.153 -group cn -exclude-default-group
server 113.205.16.215 -group cn -exclude-default-group
server-https https://doh-pure.onedns.net/dns-query -group cn -exclude-default-group
server-https https://pdns.itxe.net/dns-query -group cn -exclude-default-group
server-https https://doh.18bit.cn/dns-query -group cn -exclude-default-group

server-https https://101.101.101.101/dns-query
server-https https://1.0.0.1/dns-query
server-https https://8.8.8.8/dns-query
server-https https://doh.dns.sb/dns-query
server-https https://public.dns.iij.jp/dns-query
server-https https://dns.controld.com/comss

! 就这个取消注释就无法解析,nslookup 出现 DNS request timed out. timeout was 2 seconds.
! chinalist 用的这个:https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/direct-list.txt
domain-set -name chinalist -file /etc/storage/diy/chinalist.txt
domain-rules /domain-set:chinalist/ -nameserver cn

重现步骤

  1. 上游DNS配置。

  2. 访问的域名。

信息收集

  1. 将/var/log/smrtdns.log日志作为附件上传(注意去除个人相关信息)。
  2. 如进程异常,请将coredump功能开启,上传coredump信息文件,同时上传配套的smartdns进程文件。
    在自定义界面,开启设置->自定义设置->生成coredump配置,重现问题后提交coredump文件
    coredump文件在/tmp目录下
@PikuZheng
Copy link
Contributor

你需要选取此表的前90289行。

@Leavesr
Copy link
Author

Leavesr commented Oct 31, 2024

你需要选取此表的前90289行。

难怪,这个倒是没排查过,多谢

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