How to Set DNS on MikroTik: Google, Cloudflare, and DoH on RouterOS v7
Every time you open youtube.com, your device asks a DNS server: what is this site's IP address? On a MikroTik router, that question is answered by the built-in DNS resolver in RouterOS, and setting it up takes about five minutes. You get faster name resolution for every device on your network, plus the option of encrypted DNS. Set it in WinBox Open WinBox, go to IP, then DNS. In the Servers…
This article provides a step-by-step guide on how to set up DNS on a MikroTik router using Google, Cloudflare, and DoH (DNS over HTTPS) in RouterOS v7. To set up DNS, users need to open WinBox, go to IP and then DNS, and input Google (8.8.8.8) and Cloudflare (1.1.1.1) IP addresses, ensuring "Allow Remote Requests" is checked. The DHCP settings should also be updated to use the router as the DNS server.
To verify the setup, users can use the nslookup command. The article also discusses testing different DNS resolvers for speed and explains how to enable DoH on RouterOS v7, including the command and verification process. Lastly, it emphasizes the importance of security by blocking port 53 for WAN traffic to prevent DNS amplification attacks.
Brief written by urgent.news; may contain errors — check the original.
Source: dev.to