My question is essentially the same as Why doesn't systemd-resolved use my local DNS server?, but I'm looking for a different kind of answer. The basic question has been asked many times, but the answers that I have found so far have always been a variation of "this is how you stop systemd from doing its thing, and allows you to to it manually, which will make it work as expected.".
I'm more curious about whether it is possible to get systemd to actually use the local (primary) dns, and only go to second, third, etc dns if the primary one fails?
It sort of behaves like it assumes that all DNS's are equal, so rather than use the first one offered by the dhcp it chooses another one that it prefers and sticks with that one instead.
This breaks a common configurations where organizations have a local dns for their private lan names. It seems downright bizarre that systemd's resolver wouldn't be able to handle such a common configuration -- so bizarre that I don't believe it to be the case.
Rather than just disabling it -- is there a way to get it to understand that it should be using the first dns given to it in the dhcp reply?