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

[Feature Request] DNS Negative cache #669

Open
9bingyin opened this issue Oct 4, 2024 · 3 comments
Open

[Feature Request] DNS Negative cache #669

9bingyin opened this issue Oct 4, 2024 · 3 comments

Comments

@9bingyin
Copy link

9bingyin commented Oct 4, 2024

Greetings

No response

Feature Request

DNS Negative cache

Use Cases

可以给 NXDOMAIN 和 NODATA 的结果增加一个缓存,例如 300s(或遵循 SOA record)

Potential Benefits

这样在服务器返回 NXDOMAIN 和 NODATA 的结果时就可以缓存下来,防止一些程序一直重复解析不存在的域名从而消耗上游 DNS 的资源

@dae-prow
Copy link
Contributor

dae-prow bot commented Oct 4, 2024

Thanks for opening this issue!

@mzz2017
Copy link
Contributor

mzz2017 commented Oct 5, 2024

@9bingyin 还需要一些 rfc 资料佐证讨论这种行为是否可靠

@9bingyin
Copy link
Author

9bingyin commented Oct 5, 2024

RFC 2308 对这种行为有详细的说明
AdGuard Home 也在 2 年前支持了这个特性,AdguardTeam/AdGuardHome#3707 ,并且似乎是默认开启的

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

No branches or pull requests

2 participants