routeros-dns

Installation
SKILL.md

RouterOS DNS

The resolver is configured in /ip/dns. It answers the router's own lookups and, with allow-remote-requests=yes, queries from clients on UDP and TCP 53. Default configurations already do this and hand out the router as DNS server via DHCP.

Resolver in five lines

/ip/dns/set servers=1.1.1.1,9.9.9.9 allow-remote-requests=yes cache-size=4096     # cache-size is in KiB
/ip/dns/print                                     # servers (yours) and dynamic-servers (from DHCP client, PPP, ...)
:put [:resolve mikrotik.com]                      # test from the router
/ip/dns/cache/print
/ip/dns/cache/flush
Installs
5
GitHub Stars
1
First Seen
3 days ago