qdm12 / dns

Docker DNS server on steroids to access DNS-over-TLS from Cloudflare, Google, Quad9, Quadrant or CleanBrowsing
https://hub.docker.com/r/qmcgaw/cloudflare-dns-server
MIT License
219 stars 37 forks source link

filter: Middleware should keep blocked cached response #125

Closed qdm12 closed 1 year ago

qdm12 commented 1 year ago

for the ttl of the dns response, the cache should keep the response if it's blocked, to avoid re-fetching something blocked.

qdm12 commented 1 year ago

Done in 4e69763118ba080548293eef14b8670414f686c0