shawn1m / overture

A customized DNS relay server
MIT License
1.79k stars 284 forks source link

Feature request: ability to set TTL for negative DNS replies (empty result or NXDOMAIN) in a separate way #288

Open alpominth opened 1 year ago

alpominth commented 1 year ago

Let's suppose I configured Overture for caching results for 1 month using a Redis database and a site I use to visit expires its registration.

/\ The negative response (NXDOMAIN) could be cached, if the site returns in some days, I will notice that the site is back only after 30 days as the cached negative answer would tell that.

An option to set a TTL for empty results or NXDOMAIN would be useful in this scenario.