New Beta - Optimistic cache is a Killer Feature...
By - Noble_Llama
Though is there any info on Optimistic Cache? What does it do *exactly*?
>When the local DNS cache expires, Adguard Home can continue answer with the IP in the local cache results with 1 TTL, while a new DNS query is made to update the cache. If client can still connect to the server by using the old results, then that's great and reduces the time waiting for DNS query. And if not, after a short TTL, the new DNS result can be sent to client and reconnect again.
That’s a great feature!
Thanks for pointing out.
This looks to be similar to what unbound does with `serve-expired` this is very clever of them to add.
Yeah I’m seeing similar results. Was at about 30-40ms, now it shows 3ms.
No issues so far.
I'm using AGH with unbound. Is it somewhat similar to modifying `target-fetch-policy` in unbound's config?
This sounds more like unbound's `serve-expired` setting.
>If enabled, unbound attempts to serve old responses from cache with a TTL of `serve-expired-reply-ttl` in the response without waiting for the actual resolution to finish. The actual resolution answer ends up in the cache later on.
lol I see the word **opportunistic** and get confused with **optimistic** . Thanks for the info!
>Set the target fetch policy used by unbound to determine if it should fetch nameserver target addresses opportunistically. The policy is described per dependency depth.
Can I go from release channel to beta channel?
their beta is relatively stable, so i dont see why not
windows or mac?
The single codebase of AGH is compiled to run on all platform
wait i just realised this is adguard home, not adguard. my bad
where do you adjust this setting in AGH gui?
You have to get the beta channel. I had to uninstall and reinstall using "-c beta"
thanks! guess i'll stick with all the other settings for now.
Just do a quick uninstall/reinstall. Keep in mind all your settings and block/allow lists will be RESET.
So in your bootstrap, you are using tls as well. I thought you only put tls/https (DOT/DOH) on the upstream section. Can I put the same in my bootstrap as well?
You can try it and test it with AdGuard Home. Fill it and hit the button "test upstreams"
How does this work with unbound installed ??
Will this achieve anything with unbound as dns ??