#2447·smartdns

开启smartdns后访问网站异常

Author: cxh997047096-aiCreated Aug 9, 2026Updated Sep 1, 2026

问题现象
简要描述问题出现的现象 开启smartdns后 访问网站加载缓慢 某个js加载20秒 关了smartdns正常 dns只填了运营商的 没开其他插件

ImageImage

运行环境

  1. 固件型号
    ImmortalWrt 24.10.5 r33805-7c4e882aaf6f x64
  2. 运营商
    山西移动
  3. smartdns来源以及版本 github 48.4
  4. 涉及的配置(注意去除个人相关信息) config smartdns option enabled '1' option port '6552' option auto_set_dnsmasq '0' option tcp_server '1' option tls_server '1' option doh_server '1' option ipv6_server '1' option bind_device '1' option dualstack_ip_selection '1' option serve_expired '1' option cache_persist '1' option resolve_local_hostnames '1' option force_https_soa '0' option rr_ttl_min '60' option seconddns_port '6553' option seconddns_tcp_server '1' option log_output_mode 'file' option prefetch_domain '1' option cache_size '6400000' option rr_ttl '60' option server_name 'SmartDNS' option mdns_lookup '1' option tls_server_port '853' option doh_server_port '843' option old_port '6552' option old_enabled '1' option old_auto_set_dnsmasq '0'

重现步骤

  1. 上游DNS配置。
Image
  1. 访问的域名。
    https://www.jcgov.gov.cn/

信息收集

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

smartdns.log

smartdns-audit.log