Community discussions

MikroTik App
 
User avatar
abdonetwork
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Fri May 15, 2009 5:30 pm
Location: Palestine

2 DNS's from 2 ISP's from 2 countrys

Wed Jun 02, 2010 11:55 pm

Hello I'm tried to found my answer in mikrotik forum but no same .

i have tow internet ISP's the first is net vision Israel they have different Dns than the
second ,
the second ISP from Palestine Paltel, have anther DNS too.
then this internet came from tow ISP's entered to load balance to have one LAN going to my Mikrotik
the problem is (in many time i have problem in with browsing ) * can't load page*
the question is if the load balance configured as right settings, what is the right DNS configuration must be in the Mikrotik ? can i use the tow DNS's in same time ?
thank you
Image
 
User avatar
jgellis
Member Candidate
Member Candidate
Posts: 140
Joined: Wed May 30, 2007 10:57 am
Location: USA

Re: 2 DNS's from 2 ISP's from 2 countrys

Thu Jun 03, 2010 1:40 am

Is it possible that one or both of your ISPs are blocking external DNS queries? If so, requests to DNS1 that were "load balanced" out ISP2 would get rejected (and vice-versa). A workaround would be to create two or more static routes ensuring that the DNS traffic destined for DNS1 only goes out ISP1 instead of load balancing the DNS requests. So long as you did this for both DNS entries (one from each ISP), you will still have redundancy. If DNS1 does not answer, DNS2 will be used to resolve the query.

You need the following addresses to proceed:
IP address of DNS server from ISP1 (referred to as $dns1)
IP address of default gateway of ISP1 (referred to as $gw1)
IP address of DNS server from ISP2 (referred to as $dns2)
IP address of default gateway of ISP2 (referred to as $gw2)

/ip route add dst-address=$dns1 gateway=$gw1
/ip route add dst-address=$dns2 gateway=$gw2
 
User avatar
abdonetwork
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Fri May 15, 2009 5:30 pm
Location: Palestine

Re: 2 DNS's from 2 ISP's from 2 countrys

Sat Jun 05, 2010 1:58 am

thank you

Who is online

Users browsing this forum: No registered users and 35 guests