Page 1 of 1

loadbalancing 2 wan with different dns

Posted: Mon Mar 16, 2015 5:22 pm
by qudama
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

Re: loadbalancing 2 wan with different dns

Posted: Mon Mar 16, 2015 6:35 pm
by ZeroByte
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.

Re: loadbalancing 2 wan with different dns

Posted: Tue Mar 17, 2015 9:49 am
by 016hnoor
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.