smartdns icon indicating copy to clipboard operation
smartdns copied to clipboard

SmartDNS ERR_NAME_NOT_RESOLVED

Open kgggggb opened this issue 11 months ago • 13 comments

问题现象
解析任意域名有几率出现 ERR_NAME_NOT_RESOLVED 推测是解析时间超时 但是 DEBUG 没有 ERROR 如果你开启 Cache 那它甚至会把 ERR_NAME_NOT_RESOLVED 这个结果缓存进去 如果你不开启 Cache 它可能会表现如: 电脑浏览器闪现这个错误然后会立马重载正常访问 手机应用会加载缓慢或元素无法加载 (如全平台 YouTube App 的 thumbnail 可能会显示黑色,就是加载不出来) 不是上游服务器问题 我监视单一或多个上游均没有出现解析错误 并且横向对比过其它类似项目 OvertureAdGuard Home DNS 均未出现此问题

运行环境

  1. Release 45

  2. China Telecom

重现步骤 在任意时间访问任意域名会随机出现 (不论其站点热门与否)

配置 smartdns -c smartdns.conf

bind :53 -no-dualstack-selection -no-speed-check -force-https-soa -no-cache

speed-check-mode none

cache-persist no

prefetch-domain no

mdns-lookup no

force-qtype-SOA 65 255

no-daemon yes

restart-on-crash yes

conf-file /etc/smartdns/confFiles/*.conf

hosts-file /etc/smartdns/domainFiles/hosts.txt

./confFiles/cn.conf

ip-set -name cn -type list -file /etc/smartdns/ipFiles/china_ips.txt ip-rules ip-set:cn -whitelist-ip

./confFiles/servers.conf

server 119.28.28.28:53 -whitelist-ip server 119.29.29.29:53 -whitelist-ip server-tcp 1.1.1.1:53 ### #Proxied server-https https://1.1.1.1:443/dns-query ### #Proxied ...

kgggggb avatar Mar 01 '24 06:03 kgggggb