undici
undici copied to clipboard
fix: dns interceptor ip ttl
This relates to...
How long time to cache the dns records from the dns interceptor.
Rationale
For how long time the dns records from the dns interceptor should live.
Changes
Set timestamp once on each resolved record and compare the ttl to that timestamp. If the record is too old, remove it.
Features
Bug Fixes
N/A
Breaking Changes and Deprecations
Status
- [x] I have read and agreed to the Developer's Certificate of Origin
- [x] Tested
- [S] Benchmarked (optional)
- [S] Documented
- [x] Review ready
- [ ] In review
- [ ] Merge ready