smartdns icon indicating copy to clipboard operation
smartdns copied to clipboard

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。

Results 387 smartdns issues
Sort by recently updated
recently updated
newest added

**问题现象** 如日志显示,使用阿里dns作为上游,不定时出现Connection reset by peer和500错误,考虑到这是阿里的服务,不太可能出现宕机和被干扰的问题。(另一个证据就是,使用阿里dot时,没有出现这种异常) ``` Mon Mar 25 17:23:49 2024 user.warn smartdns: Handshake with 223.5.5.5 failed, Connection reset by peer Mon Mar 25 17:24:12 2024 user.warn smartdns: Handshake with...

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

**问题现象** 每天離峰時段重啟時發現緩存只有100KB。但尖峰時段重啟時,看到緩存有2MB 請問在serve-expired-ttl 0的設置下,緩存會一直變大,大到我設置的cache-size值嗎? 有什麼設置是會把緩存的域名踢掉的嗎? 涉及的配置(注意去除个人相关信息) rr-ttl-min 60 rr-ttl-max 3600 rr-ttl-reply-max 60 cache-size 20000 cache-persist yes cache-file /tmp/smartdns.cache cache-checkpoint-time 0 prefetch-domain yes serve-expired yes serve-expired-ttl 0 serve-expired-reply-ttl 2 serve-expired-prefetch-time 14400

**需求应用场景** 对于特定接口的 53 端口,dnsmasq 不监听(这个 openwrt 提供),改由 smartdns 监听。 **建议的方案** 加入功能 “监听接口” 或者完善 “绑定到设备” / “绑定的设备名称” 功能。 **设备信息** 1. 设备信息(CPU,厂家) ath79/generic 2. 固件信息 OpenWrt 23.05 目前个人临时绕过方案是让 smartdns 监听非 53 端口,然后手动写配置...

说明中,通配前缀是`*-a.`,是不是多了一个`a` ![image](https://github.com/pymumu/smartdns/assets/9136591/ff6f7cdf-5fb8-4181-822b-7dbb13196333) 因为看了源码,看起来通配应该是`*-.` https://github.com/pymumu/smartdns/blob/22349761ec8b35aefe1a07d0922e97ef4fb0e0c0/src/dns_conf.c#L1436-L1457

问题现象 简要描述问题出现的现象 看文档是针对单个域名不缓存,如 domain-rules /example.com/ -no-cache 但我这边需求是,针对特定组不缓存,这种配置是否支持 server 8.8.8.8 -group guowai -exclude-default-group -no-cache 运行环境 固件型号 xen虚拟机 运营商 电信 smartdns来源以及版本 smartdns 1.2023.08.11-1937 涉及的配置(注意去除个人相关信息) 重现步骤 上游DNS配置。

**问题现象** 我在luci里自定义设置添加了domain-rules /*.a.com/ -no-serve-expired, 但是kdig的时候还是会发现它返回一个serve exired ttl=3的响应。在自定义设置里添加speed-check-mode none后,这个选项才起作用。 **运行环境** 1. 固件型号 ImmortalWRT 23.05.1 或者lean op 2. 运营商 3. smartdns来源以及版本 https://github.com/PikuZheng/smartdns/releases/ smartdns 1.2024.v45.0.11 smartdns 1.2024.v45.0.13 4. 涉及的配置(注意去除个人相关信息) ``` speed-check-mode none #(添加/不添加这个会导致下面选项起作用/不起作用,这两个必须要一起用才行)...

目前自定义设置里配置conf-file时,如果文件不存在会导致smartdns无法启动,建议修改成文件不存在时直接跳过并继续启动smartdns,以确保基础功能正常工作。

版本45. 配置里有 ``` dns64 64:ff9b::/96 ``` 重启后,dig只有 IPv4 地址的网站,无法获取AAAA记录。 ``` $ dig @192.168.2.1 AAAA passport.jd.com ~ ; DiG 9.10.6 @192.168.2.1 AAAA passport.jd.com ; (1 server found) ;; global options: +cmd...

背景: 1. 路由器有双栈,并且提供NAT64服务,不提供DHCPv4; 局域网内其他机器只有V6地址。 3. 从路由器上,某些域名需要强制V4访问,例如google。 所以会有类似规则 ``` domain-rules/dmain-set:xxxxxxx/ -nameserver DDDDDDD -address #6 ``` 4. 希望smartdns可以提供DNS64 ``` dns64 64:ff9b::/96 ``` 问题: 解析域名集中的域名的AAAA记录,只能获取到SOA。 希望能支持如下语法: ``` domain-rules/dmain-set:xxxxxxx/ -nameserver DDDDDDD -address #6r ```...