Community discussions

MikroTik App
 
PPeters
just joined
Topic Author
Posts: 6
Joined: Sat Sep 28, 2013 1:54 am

DNS Catch not working

Thu Nov 21, 2013 1:43 am

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
 
User avatar
rickfrey
Trainer
Trainer
Posts: 609
Joined: Sun Feb 14, 2010 11:41 pm
Location: Van, Texas
Contact:

Re: DNS Catch not working

Mon Feb 17, 2014 8:57 am

Try changing the action to redirect.