undici icon indicating copy to clipboard operation
undici copied to clipboard

fix: dns interceptor ip ttl

Open luddd3 opened this issue 1 year ago • 0 comments

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

luddd3 avatar Oct 25 '24 05:10 luddd3