I've setup a failover policy wan_wanb. The data packets are correctly forwarded according to policy.
However, when both wans are online, I see the DNS requests / responses are send randomly between wan and wanb, even if mwan3 status is:
Current ipv4 policies:
wan_wanb :
wan (100%)
I understand that this is by design, from documentation: "Resolvers from all active interfaces are combined in a single runtime configuration indiscriminately". Indeed,
cat /tmp/resolv.conf.d/resolv.conf.auto
# Interface wan
nameserver x.x.x.x
# Interface wanb
nameserver y.y.y.y
My question: how to make dnsmasq follow the same mwan3 failover policy?
- when active policy is: wan (100%), it should send DNS request only to wan interface, and
- when active policy is: wanb (100%), it should send DNS requests only to wanb interface
Even if both interfaces are online.