-
Notifications
You must be signed in to change notification settings - Fork 537
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
每一次更换IP解锁配置就失效 #62
Comments
可以尝试一下只重启服务 |
已尝试,依旧失效,只能重新安装 |
求助大佬,DNS解锁机ip变更后,如何让Sniproxy和Dnsamq变更地址?还是它会自动变更? |
ip变更时,只需要更新dnsmasq的目标解析IP就可以了,例如批量替换 |
现在可以使用 |
这个脚本在哪里? |
在仓库,刚提交 |
好的。很期待这个脚本!这样ip被奈飞Ban后不用每次都卸载重装叻 |
可以先测试一下,有问题再反馈哦 |
我在仓库也没有找到脚本 |
名字给你说错了,是 |
bash autoupdateip.sh ddns网址 |
已更新,请重试一下 |
最近正好换ip,试了下自动脚本,脚本运行了没有报错,但是查看文件并没有修改成功。最终还是靠这个手动命令改成功了,然后Restart后生效叻! |
定时任务是否设置正确 |
和定时任务没关系。是我改了IP之后,运行bash autoupdateip.sh后,ip并没有修改成功 |
bash autoupdateip.sh 不带参数直接运行是改为本机的公网ip。难道他没识别到本机的公网ip改变了? |
可以执行 |
root@22-12-30-1046:~# bash -x autoupdateip.sh
|
我把ip的最后一位隐藏叻。这次因为没有改动ip,所以看日志好像是对的。等我慢点ip变更了,我再运行试试看,再把日志发给你看看 |
目前日志是没有问题的,等ip变更了再测试一下吧 |
哈哈 成功了!感恩!!! |
每次都要重新安装,有什么好的办法?
The text was updated successfully, but these errors were encountered: