Community discussions

MikroTik App
 
matthysdt
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Tue Jun 01, 2010 11:19 am

DNS and multiple WAN interfaces.

Wed Sep 12, 2012 1:46 pm

I have a RB411UAHR with 2 WAN interfaces:
* ADSL (pppoe-out1)
* 3G (ppp-out1)

Both from different ISP's, both use different DNS servers.

"Use Peer DNS" is enabled on both interfaces.
"IP/DNS/allow-remote-requests" is enabled.

This is a failover solution with both ADSL & 3G permanently connected.
The default route for the 3G has a greater distance, so that failover occurs when the ADSL goes down.

BUT

My IP/DNS settings are also affected. I often find routers running on ADSL, having the DNS addresses of the 3G ISP, this causes DNS lookup failures.

Is there a better way to ensure that I'm using the peer DNS of the shortest active default route's interface?
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1076
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: DNS and multiple WAN interfaces.

Wed Sep 12, 2012 3:55 pm

Remove the "use peer dns" from the pppoe settings, and set manually some public DNS servers, like the
google DNS server for example.
 
matthysdt
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Tue Jun 01, 2010 11:19 am

Re: DNS and multiple WAN interfaces.

Wed Sep 12, 2012 4:29 pm

Remove the "use peer dns" from the pppoe settings, and set manually some public DNS servers, like the
google DNS server for example.
I'll try that thanks, the only reason I've been avoiding this option is because our ADSL lines may become capped and then only local traffic is allowed by the ISP. In this case, I will probably not have access to the USA-hosted DNS servers (8.8.8.8 & 8.8.4.4).
BUT, reconfiguring the DNS when that happens may be less troublesome than struggling with DNS related issues throughout the month.