Page 1 of 1

redirect dns two different wan

Posted: Fri Sep 30, 2011 6:34 am
by DrHerTz
can anyone help me out redirect port 53 (dns) too ???

I have 2 ISP
let i say
ether1-adsl
ether2-isp (using Fiber Optic)
ether3-lan

so, my question is, "How to redirect port 53 into ether2-isp ???
when i browsing or tracert using client computer, i saw my dns is using ether1-adsl
i want to change when browsing, the default dns from ether1-adsl is redirect to dns ether2-isp

here my config
/ip firewall nat print detail 
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; DNS
     chain=dstnat action=redirect to-ports=53 protocol=tcp 
     src-address-type=!local in-interface=ether1-lan dst-port=53 

 1   chain=dstnat action=redirect to-ports=53 protocol=udp 
     src-address-type=!local in-interface=ether1-lan dst-port=53 

/ip firewall mangle print detail 
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; Cache
     chain=output action=mark-packet new-packet-mark=cache passthrough=yes src-address-type=local dscp=38 

 1   chain=postrouting action=mark-packet new-packet-mark=cache passthrough=yes src-address-type=local dscp=38 

 2   chain=output action=mark-routing new-routing-mark=ether2-isp passthrough=yes protocol=udp dst-port=53 

that's not worthless if i'm using mark route to ether2-isp :(
or, maybe i have wrong conifg. help me out please ~~~

and another problem is, the DNS from two broadband are same :(
even though ether1-adsl or ether2-isp are same DNS. so, that's not worth if i'm set the DNS from "IP >> DNS"

but, there is a different dns. same IP DNS, but not same in PING. when Ping from interface ether1-adsl is a bit high than interface ether2-isp
ether2-isp have a stability ping of dns