smartdns icon indicating copy to clipboard operation
smartdns copied to clipboard

能否默认常规设置里输一个汇总端口,自定义配置里输两个端口分别绑定国内外?

Open zhaozhejun opened this issue 5 years ago • 3 comments

常规设置里用的smartdns名称,端口为55 自定义里输的 bind :5053 -group china bind :6053 -group office server 218.30.118.6 -whitelist-ip -group china server-https https://dns.233py.com/dns-query -group office 保存后在adguard里上游dns配置 192.168.50.6:5053 测试反馈服务器 "192.168.50.6:5053":无法使用,请检查你输入的是否正确 但是上游dns里输成55或者6053端口都是没问题的,不知道哪里有问题吗?

zhaozhejun avatar May 09 '20 04:05 zhaozhejun

tmp里smartdns.conf信息如下 server-name smartdns bind :55 prefetch-domain yes cache-size 0 rr-ttl-min 300 rr-ttl-max 3600 log-size 64K log-num 1 log-level error conf-file /etc/smartdns/address.conf conf-file /etc/smartdns/blacklist-ip.conf conf-file /etc/smartdns/custom.conf

然后custom里配置信息如下: bind :5053 -group china bind :6053 -group office -no-speed-check -no-cache address /smartplugconnect.phicomm.com/203.171.231.212 conf-file /etc/smartdns/whitelist-ip.conf #conf-file /etc/smartdns/blacklist-ip.conf speed-check-mode tcp:443,ping force-AAAA-SOA yes server 218.30.118.6 -whitelist-ip -group china server-https https://dns.233py.com/dns-query -group office

zhaozhejun avatar May 09 '20 04:05 zhaozhejun

这个和 smartdns 有什么关系? “无法使用,请检查你输入的是否正确” 是 adguard 提示的吧?

rampageX avatar May 09 '20 07:05 rampageX

这个和 smartdns 有什么关系? “无法使用,请检查你输入的是否正确” 是 adguard 提示的吧?

因为5335端口确实没建立起来呀,但是55跟6053建立了,怪就怪在这。。那按道理6053也不该建立才对。

zhaozhejun avatar May 09 '20 15:05 zhaozhejun