Here are the 2 settings I mentioned about prefetch and serve 0 ttl
In the advanced section of the resolver
settings.png
The dnssec settings have no meaning if you don't have dnssec enabled and are in forwarding mode.
It normally is bad to mess with TTLs, and you should use what the authoritative NS has set - but with many sites hosted by aws and the like having ttls of 60 freaking seconds.. I have set min to be 1 hour.. I just do not buy that I need to query for something every 60 seconds... Makes no sense..
So if I am on some website tooling around reading a blog or something for 5 minutes its going to be queried 5 times? Really? Come on!! ;)
minRR.png
I have not run into any issues with doing that - but your mileage may differ depending on what sort of stuff your visiting, etc.
My unbound has just restarted - doing some testing of stuff... if you run this cmd you can keep an eye on how your cachehit is doing
[2.4.4-RELEASE][admin@sg4860.local.lan]/root: unbound-control -c /var/unbound/unbound.conf stats_noreset | grep total.num
total.num.queries=588
total.num.queries_ip_ratelimited=0
total.num.cachehits=220
total.num.cachemiss=368
total.num.prefetch=0
total.num.zero_ttl=0
total.num.recursivereplies=368
[2.4.4-RELEASE][admin@sg4860.local.lan]/root:
So with a total 588 queries currently at 220/588 for cache hits.. 37% That will go way up over time.. I will post back latter with hit rate..