Hi all,
Is it possible to set up the firewall in a way to redirect all DNS requests, that don't specifically have the router(dnscrypt-proxy2) as destination, to my AdGuard home server?
I want to give out the AdGuard server as first DNS server per DHCP option, and the router itself as second, so that if AdGuard bugs out / crashes there's still a working DNS server.
I also plan on setting up AdGuard to use the router(dnscrypt-proxy2) as upstream resolver and set up both to use dnsmasq( port 54) to reverse lookup local domains.
This setup is working fine so far, except that I have no idea how to set up the firewall to hijack and redirect everything that isn't going to one of the two servers and redirect everything else to one chosen server.
Also, how common are devices that load balance instead of only using the second DNS server option if the first can't be reached, and therefore escape the add block?
Why all the hassle? I like the idea of two functional DNS servers and having one that's completely unfiltered that can be hard-coded to test things, I also don't fully trust the device hosting AdGuard to have the desired uptime stability, yet.