Wrong DNS server order on Linux

In Linux, the default behavior of the DNS resolver is to follow the order of the DNS servers listed in the /etc/resolv.conf file.

On my router (v6.48.6) I setup a DHCP network, and added my DNS servers in this order: 10.10.1.253, 10.10.10.20

But on my client, in the /etc/resolv.conf file, the DNS servers are listed in the reverse order:
10.10.10.20
10.10.1.253

Any idea how to fix this?

linux should use rr for nameservers from resolv.conf so I don’t see any problem here

Doesn’t seem that way to me. Any new website I visit takes 5 seconds to start loading. Anyway, I fixed it by setting up a local caching nameserver with dnsmasq.

Why do you list servers that are unreachable?