Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点几次保存&应用之后就不能解析DNS了,该怎么排查,节点还正常 #917

Open
fengqi opened this issue Jun 14, 2022 · 7 comments

Comments

@fengqi
Copy link

fengqi commented Jun 14, 2022

有时候需要调整节点、访问控制或者其他的,点一两次保存&应用后,谷歌连通性测试就不通过了,表现是DNS不能解析,但是我通过浏览器插件SwitchyOmega直连是可以使用的,证明节点是正常的。

在局域网机器上

root@portal:~# nslookup twitter.com
;; Got SERVFAIL reply from 192.168.50.1, trying next server
;; Got SERVFAIL reply from 202.106.46.151, trying next server
Server:         202.106.195.68
Address:        202.106.195.68#53

** server can't find twitter.com: SERVFAIL

在路由器上

root@RT-ACRH17:~# nslookup twitter.com 127.0.0.1:5335
Server:         127.0.0.1:5335
Address:        127.0.0.1:5335

** server can't find twitter.com: SERVFAIL

然后恢复的就比较随缘了,也不知道问题出在哪,只能临时用下浏览器插件。

PS:由于一直找不到原因在哪,我通过不保留配置重刷固件解决了,此问题我碰到过多次了,每次都是这样解决的。。。卸载删除配置重装没用,也可能是我没删干净。

补充一下:我的运行模式是socks5+gfwlist,DNS默认的8.4

@minlang112
Copy link

如果是lean的库,建议关闭turbe acc的DNS缓存后再看看,可能有惊喜……

@fengqi
Copy link
Author

fengqi commented Jun 16, 2022

如果是lean的库,建议关闭turbe acc的DNS缓存后再看看,可能有惊喜……

我没开dns缓存

@fengqi
Copy link
Author

fengqi commented Jul 2, 2022 via email

@fengqi
Copy link
Author

fengqi commented Jul 4, 2022

还有/etc/init.d/shadowsockr,这里的初始化机制是存在bug的,在ssrplus频繁switch/save&apply的时候,dnsmasq及相关update脚本,会不断重启,包括上面的脚本在内,执行时间会很长。而新的ssrplus或者smartdns又依赖dns2tcp等解析机制,导致dns出现不时中断的现象。

暂时没看出来哪里有问题,不过每次应用之后确实执行的步骤挺多,算是把所有的配置都刷了一遍,这中间如果哪里出错了挺难排查的

@fengqi
Copy link
Author

fengqi commented Jul 16, 2022

今天不知道哪操作错了,我记得就只切了下节点,然后就不能解析了,ps查看进程确实DNS每隔一会儿就自己重启了

@xun188
Copy link

xun188 commented Dec 18, 2022

用smartdns吧,我调试后挺好的

@fengqi
Copy link
Author

fengqi commented Dec 29, 2022

用smartdns吧,我调试后挺好的

完全替换调dnsmasq吗还是配合

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants