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

开启缓存后,如果某个域名被污染了,即使修改了该域名的 domain-rules 规则,也无法快速更新缓存文件中的被污染域名结果 #1740

Open
lxf1992521 opened this issue May 16, 2024 · 1 comment

Comments

@lxf1992521
Copy link

需求应用场景
对于当前的 smartdns 缓存方案,如果某个域名被污染了,在手动修改 domain-rules 后重启 samrtdns,也只能被动等待域名 TTL 到期重新更新,或者更激进的就是删除整个缓存文件。

建议的方案
能否实现命令行参数/配置文件,直接修改/更新缓存文件中某个域名的缓存信息,让其快速更新生效新的 domain-rules,获取到正确的 DNS 解析结果

@PikuZheng
Copy link
Contributor

可以试试domain-rules设no-cache

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

2 participants