Community discussions

MikroTik App
 
qudama
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Mon Feb 24, 2014 2:26 am

loadbalancing 2 wan with different dns

Mon Mar 16, 2015 5:22 pm

hello,
i have 2 pppoe-out1 pppoe-out2 loadbalanceing
every pppoe-out have different dns !

how can i make pppoe-out1 works with dns 8.8.8.8
and pppoe-out 2 works with dns 109.224.14.5

and what if i have more than 30 pppoe-out1...30 loadbalance can i make the whole ether1 isp1 works with its dns ?
thats more easy right? please guide me and send terminal code.

thanks
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: loadbalancing 2 wan with different dns

Mon Mar 16, 2015 6:35 pm

If pppoe-out1 .. pppoe-outX are all ISPs - all "wan" connections, then I would just use public DNS servers like 8.8.8.8 and 8.8.6.6 - if you distrust Google having your DNS requests, you can find others, such as Level3 - 4.2.2.2
The firewall rules table complexity for 30 providers is already going to be a giant mess, and adding DNS rules for all 30 is going to make the spaghetti bowl even more tangled. Public servers won't care which IP the request comes 'from'

If ppoe-outX are all customers (if this is a pppoe server for instance) then you could redirect all DNS queries to yourself and run proxy resolver on the box itself in stead of redirecting various clients to various servers.
 
016hnoor
just joined
Posts: 4
Joined: Tue Mar 17, 2015 9:43 am

Re: loadbalancing 2 wan with different dns

Tue Mar 17, 2015 9:49 am

you can find others, such as Level3 - 4.2.2.2
The firewall rules table complexity for 30 providers is already going to be a giant mess, and adding DNS rules for all 30 is going to make the spaghetti bowl even more tangled.