I have a pi hole in my network and I set it as my primary DNS server, and my router (a Mikrotik) as secondary. DHCP sets the DNS servers as pihole, mikrotik
in this exact order and I want to keep it that way. I know systemd-resolved uses some algorithm to set the fastest dns as current server, but I don’t want/need that. Is there some way to do configure it to just let it be?
I’m running Fedora 40.
You may want to check out this solution: https://forum.mikrotik.com/viewtopic.php?t=207043
Plus if you have v7.15 on the mikrotik you could also enable the new DNS Adlist to get some basic protection in the event of pihole downtime.