Page 1 of 1

DNS Catch not working

Posted: Thu Nov 21, 2013 1:43 am
by PPeters
I followed the guide at http://wiki.mikrotik.com/wiki/Force_use ... DNS_server to force users to use our DNS. Unfortunately it is not working. This is just a small test network.

For this example my routers WAN is 172.25.25.254 and the local port has 192.168.50.1. The router has DNS cache

I made the following rules on the router as per the guide. But with this enabled DNS will not resolve using 8.8.8.8 on the client.
add chain=dstnat action=dst-nat to-addresses=192.168.50.1 to-ports=53 protocol=udp dst-port=53
add chain=dstnat action=dst-nat to-addresses=192.168.50.1 to-ports=53 protocol=tcp dst-port=53

Re: DNS Catch not working

Posted: Mon Feb 17, 2014 8:57 am
by rickfrey
Try changing the action to redirect.