begreat
October 13, 2009, 10:36am
1
Hi, i have my mikrotik with 4 different interfaces (ADSL Modem, Home, Office and Hotspot) and i am trying to use different DNS servers on those interfaces…
I wanted the Home and te Office interface to use my ISP DNS Server (Telepac ADSL: 194.65.3.20) and the Hotspot interface to use OpenDNS (208.67.222.222) thas has some blocked sites (so that people don’t drain my internet connection)…
Any help is welcome, thanks for the attention.
Best regards, Paulo Brinca.
normis
October 13, 2009, 10:43am
2
you will have to use DST-NAT to redirect DNS requests to those servers, based on the SRC-ADDRESS
begreat
October 13, 2009, 11:32am
3
Thanks for the tip, but i’m a little noob on this field…
Could you please post a sample, or give me some link where to find some info on that…
Sorry for all the trouble
normis
October 13, 2009, 11:42am
4
/ip firewall nat add chain=dstnat src-address=10.0.0.0/24 protocol=tcp dst-port=53 action=dst-nat to-addresses=192.168.1.101 to-ports=53
/ip firewall nat add chain=dstnat src-address=10.0.0.0/24 protocol=udp dst-port=53 action=dst-nat to-addresses=192.168.1.101 to-ports=53
in this example, 192.168.1.101 would be the new DNS server where the customer from 10.0.0.0 network will be sent.
begreat
October 13, 2009, 11:50am
5
Thanks a lot, i will test that config an post the results …
One other thing, do you perform remote configs?
We could create a user for you on our mikrotik so you could give us some support, if you agree of course…
It would be very helpfull…
normis
October 13, 2009, 11:58am
6
we have a list of consultants on our homepage, in the support section.
begreat
October 13, 2009, 12:03pm
7
I know, i have already requested Jorge Amaral and João Olival, but any help is welcome
Thanks for all your support, keep up the good work…
Best regards, Paulo Brinca.