[Feature Request] DNS Negative cache
Closed
topic/feature
- Dominant language
- Go
- Stars
- 6.2k
- Forks
- 402
- Avg merge
- 57m
- Merged PRs (30d)
- 2
Description
### Greetings
_No response_
### Feature Request
DNS Negative cache
### Use Cases
可以给 NXDOMAIN 和 NODATA 的结果增加一个缓存,例如 300s(或遵循 SOA record)
### Potential Benefits
这样在服务器返回 NXDOMAIN 和 NODATA 的结果时就可以缓存下来,防止一些程序一直重复解析不存在的域名从而消耗上游 DNS 的资源
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the DNS resolution and caching entry points, then determine how NXDOMAIN and NODATA responses and their SOA records are represented. Done means those negative results are cached for the requested duration or the SOA-defined duration, avoiding repeated upstream lookups.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100