Hi,
I read in another forum that in order to redirect any DNS request coming from you own LAN's clients to your Mikrotik router this rule may comes in handy:
as far as I've understood, it basically forces every client's DNS requests, even those with DNS servers set in properties, to go through your Mikrotik router.
What is not clear to me is whether the rule above prevents clients from sending dns requests to any DNS server out of your LAN;
I mean, it blocks them before getting to internet via WAN
OR, say,
it first intercepts the responses coming from DNS servers out there (like google etc), then they are read by Mikrotik (in the case above 192.168.1.1), and finally Mikrotik provides the DNS reply to the client which made the request.
I hope it is clear.
Thanks
I read in another forum that in order to redirect any DNS request coming from you own LAN's clients to your Mikrotik router this rule may comes in handy:
Code:
add action=dst-nat chain=dstnat comment="Make Mikrotik preferred dns server" dst-port=53 protocol=udp to-addresses=192.168.1.1 to-ports=53
as far as I've understood, it basically forces every client's DNS requests, even those with DNS servers set in properties, to go through your Mikrotik router.
What is not clear to me is whether the rule above prevents clients from sending dns requests to any DNS server out of your LAN;
I mean, it blocks them before getting to internet via WAN
OR, say,
it first intercepts the responses coming from DNS servers out there (like google etc), then they are read by Mikrotik (in the case above 192.168.1.1), and finally Mikrotik provides the DNS reply to the client which made the request.
I hope it is clear.
Thanks