So if you use unbound, your requests get directly to the root DNS servers, but these request are always not encrypted, the root servers can not handle that.
With a 3rd party resolver you could use DoT or DoH, but the 3rd party can see your requests.
No, I don’t think they are faster, but I don’t really know. Bandwidth is irrelevant IMO since the DNS requests are tiny. For latency it depends on your ISP and where you live, I would say.
So if you aim to use DoT or DoH you can just uninstall unbound and only use AdGuard which then make encrypted requests to cloudflare or whatever service you wanna use.
If unbound has a locally cached DNS entry, it is faster because the cache is on a device on your LAN. And that is of course faster than contacting a server on the Internet.
If you query a rarely visited domain with unbound, the entire DNS hierarchy must be traversed, which takes longer. The big DNS services have literally every domain cached, bc a lot of users use them and request all kinds of domains.
So as I said, you can not make a general assumption which is faster, it depends.
thank you for answers. i done everything well now.
Also, can I create my own VPN server for this Raspberry device? Especially for connecting from mobile when I’m outside? Of course, I want to separate this VPN traffic from the Adguard traffic I use at home. So, VPN will work as a separate network, is it possible?
i heard pivpn or wireguard . My ısp dont allow me open port