Custom WAN DNS priority

I have recently flashed my Flint 2 (MT6000) with OpenWrt and I have a query regarding DNS and how to prioritise it in interfaces.

I like to use Cloudflare DNS but recently, it hasn't been the most reliable.

I went into interfaces - WAN, set the DNS as 1.1.1.1, 8.8.8.8 and 9.9.9.9 in that order.

I then did a DNS leak test and it was showing Quad9.

Is there a way of prioritising which DNS is used first?

strict-order param in dnsmasq, or all-servers.
setting might not be exposed in webUI.

Note that all DNS servers set on all interface and up in the same basket.
You can set a weight on the DNS servers and that will sort the list according to the weight and then use strict-order, it is exposed in LuCi:


But using strict-order is highly unreliable

For some more insight see my personal notes:

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.