Translate

Wednesday, December 26, 2012

Set DNS Mikrotik

Mikrotik

Ignoring users client DNS setting



This trick to make all DNS request from clients will force to use our DNS set at mikrotik, since DNS is using TCP and UDP 53, then we redirect with this code below.
 
/ip firewall nat
add action=redirect chain=dstnat comment="tcp 53" disabled=no dst-port=53 protocol=tcp to-ports=53
add action=redirect chain=dstnat comment="udp 53" disabled=no dst-port=53 protocol=udp to-ports=53


 

1 comment: