heysoundude
Part of the Furniture
It looks to me like you're making your own life difficult for yourself:Hey guys. So I'm really new to unbound. Never used it before but very interested.
Mainly I was interested in having unbound as a recursive DNS but I want it to be as a secondary DNS instead of my primary. I'd like to have cloudflare DNS over TLS as my primary DNS and unbound running in the background as my secondary if the cloudflare DNS is down (which happens quite a lot. Sometimes from cloudflare itself or sometimes it's my ISP's connection problem to cloudflare itself)
So is it possible? If it is. How would I do that? Thank you!!
PS : Currently I am running Merlin's normal DNS over TLS ..
unbound caches your network's DNS lookups on its (your!) own private server after checking the same authoritative servers that CloudFlare, Google, Quad9 and your own ISP.
Read that again ^
I'm certain the ping to unbound is a LOT faster than cloudflare's servers.
There's no need to use DoT, unless you distrust your ISP...so if you suspect cloudflare of occasionally being an issue for you, stop using them.
As far as I'm concerned, This Is The Way. Along with some of the other scripts available for users of Merlin's firmware.