Page 1 of 1

redirect to new dns ip

Posted: Fri May 30, 2008 5:05 pm
by sjwrick
I am moving to a different ISP and need to redirect my customers that have static ips in their home routers to a new ip address for DNS.

Example: Customer has a static IP route through my MT 2.49 gateway router. Their current DNS queries 10.0.0.1
Without going to every single customer I want to redirect their DNS query from 10.0.0.1 to 192.168.1.1. Now if they are using 10.10.10.1 as a DNS server I do not want to redirect them.

Any help appreciated.

Rick

Re: redirect to new dns ip

Posted: Sun Jun 01, 2008 8:24 am
by antefe
try this: http://wiki.mikrotik.com/wiki/Redirect_ ... ied_server

You'll have to change port from 25 to 53,and protocol to udp...
my setup is this (in firewall -> NAT)
0 ;;; Redirect ALL DNS requests to mine
chain=dstnat action=redirect to-ports=53 dst-port=53 protocol=udp

this redirects ALL DNS request to the DNS setup on the routerboard...
Hope the info is helpfull....