mihomo icon indicating copy to clipboard operation
mihomo copied to clipboard

[Feature] disable dns cache

Open nunu6689 opened this issue 10 months ago • 4 comments

Verification Steps

  • [x] I have read the documentation and confirmed that this feature is not implemented
  • [x] I have searched for the feature request I want to propose in the Issue Tracker and did not find it
  • [x] I am a non-Chinese user.

Description

Good morning sirs. On router I use Dnsmasq with mihomo as forward server. It's faster for AdBlock with simple blocklist like oisd or hagezi. It has more feature like min/max cache ttl, stale cache etc. Since mihomo only used as resolver, can we have an option to disable dns cache in mihomo? Maybe also an option to change cache capacity. I looked at the code it use fixed capacity of 4096? Thank you sirs 🙏

nunu6689 avatar Feb 21 '25 00:02 nunu6689