I have no idea what you are trying to do. Please describe the problem you’re trying to solve (and leave out what you think is the right solution - just describe the problem) as detailed as possible.
use specific Ethernet port to make the resolve (Ethernet 1)
Ethernet1 for main line
Ethernet2 for back up
Ethernet3 for client
help in modify this scripte
{
:global var “failure”;
:execute “:set var [:resolve "somesite.com"];”; form Ethernet1
:delay 3;
:if ($var = “failure”) do={ :put “down” change client gateway form gateway1 to gateway2 for client not for resolving } else={ :put “up” }
}
well, if your user’s do NOT use your router as DNS, then it will work
just create new routing table with two default routes (gateway=pppoe-main with distance=10 and gateway=pppoe20 with distance=1), and leave your main routing table with 1 default route - via your main uplink. then mark all users’ traffic with necessary mark, so even if pppoe20 is up, it’s used only by your users, not by your router