smartdns
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。
**需求应用场景** `api.pinterest.com` 被劫持了,于是使用 `domain-rule` 来让它使用海外可信DNS来解析: ``` domain-rules /pinterest.com/ -nameserver oversea -ipset #4:gfwlist,#6:gfwlist6 -speed-check-mode none ``` 但是 `api.pinterest.com` 有部分海外 DNS 解析时会返回 CNAME ,CNAME 的域名没有在 `domain-rules` 中导致还是被劫持。 以下是前置的 `dnsmasq` 的日志,实际域名由 `smartdns` 解析...
**问题现象** 解析海外域名(www.youtube.com) 第一次返回一个ip(最快的IP是吗),但是第二次解析没有返回最快IP(给了很多个IP) **运行环境** 1. 固件型号 ubuntu 2. 运营商 本地电信 3. smartdns来源以及版本 smartdns.1.2024.02.08-0828.x86_64-debian-all.deb 4. 涉及的配置(注意去除个人相关信息) ##### 开启全局-DNS服务(绑定tcp和udp) bind :53 bind-tcp :53 ##### 设置海外-oversea组-DNS列表(1、从默认DNS组排除;2、拦截被污染的IP;3、解析海外域名测速,返回最快IP) server 8.8.8.8 -group oversea -exclude-default-group -blacklist-ip speed-check-mode...
**需求应用场景** 对于当前的 smartdns 缓存方案,如果某个域名被污染了,在手动修改 domain-rules 后重启 samrtdns,也只能被动等待域名 TTL 到期重新更新,或者更激进的就是删除整个缓存文件。 **建议的方案** 能否实现命令行参数/配置文件,直接修改/更新缓存文件中某个域名的缓存信息,让其快速更新生效新的 domain-rules,获取到正确的 DNS 解析结果
#!/bin/sh set -eo pipefail # 下载Cloudflare的IP地址列表 wget -O /usr/cfipv4.txt https://www.cloudflare-cn.com/ips-v4/ wget -O /usr/cfipv6.txt https://www.cloudflare-cn.com/ips-v6/ # 运行CDN速度测试,-n 222的线程数根据你设备性能调整 /usr/cdnspeedtest -dd -o /usr/1.cfipv4.txt -f /usr/cfipv4.txt -n 222 /usr/cdnspeedtest -dd -o /usr/1.cfipv6.txt -f...
#将解析出的IPv6地址添加到名称为"rule_vwan2_6"的ipset集 ipset /domain-set:rule_vwan2_6/#6:rule_vwan2_6 #设置 ipset 超时功能启用 ipset-timeout yes 当我设置了ipset-timeout yes后IP并不会添加成功,而注释掉ipset-timeout yes后就能正常添加成功,请问是什么原因?
I am setting up a VPN (for IPv6) and noticed that resolution fails for domain X when none of the IP(v6)s is reachable. This alone does not make any practical...
Hello, What needs to be done to use Mullvad DNS with SmartDNS? I can use other known dns servers as DNS over HTTPS with OpenWrt. https://mullvad.net/en/help/dns-over-https-and-dns-over-tls
https://github.com/LisonFan/smartdns/actions/runs/9014569766/job/24767493151
**问题现象** 目前使用 SS 连接这台服务器使用,这台服务器作为我的代理服务器。服务器用着用着,访问一些网站时,DNS 解析记录就消失了,这些域名并不固定,也不知道具体是赶上了哪个。就比如日志里,这次赶上了 dynamic.t0.tiles.ditu.live.com。 等个10分钟过去以后,这域名解析记录就恢复正常了,有时候等不及,重启 smartdns 服务,也能让它访问正常。 我试过打开 cache-persist,不关这里的事,开了也同样遇到相同情况。 我在以前用 release 43 的时候,相同的配置,并没有遇到这种很奇怪的问题。 **运行环境** 1. Debian 12 2. AWS Lightsail 日本 3. 最新的 release 45 4. smartdns.conf 文件...