OPNsense Forum

English Forums => General Discussion => Topic started by: dave on May 08, 2021, 04:05:58 PM

Title: DNS caches
Post by: dave on May 08, 2021, 04:05:58 PM
Can someone explain where the best place to put a DNS cache is?

My dns goes:

AdGuard Home  ->  Unbound  ->  DNSCrypt-Proxy (all within OPNsense across localhost).

All three of these services have caching options.

I would have thought the best place would have been DNSCrypt, or is it worth having caches at each stage?

Or is it best at just Unbound since it can refresh the cache based on the ttl?
Title: Re: DNS caches
Post by: FullyBorked on May 13, 2021, 06:05:38 PM
Any reason to use DNSCryptProxy if you are using unbound as well?  Seems like it might be redundant.  I would drop DNSCryptProxy, and use Unbound as your DNS cache.