The server is capable of resolving DNS requests based on POSIX basic regular expressions, so that multiple requets can be matched with the same entry. For example, resolving any DNS request for a certain set of domains (or for the whole Internet) to your own page. This feature can also be used to provide fake DNS information to your network clients. It allows you to link the particular domain names with the respective IP addresses and advertize these links to the DNS clients using the router as their DNS server. The MikroTik RouterOS has an embedded DNS server feature in DNS cache. Other record types may have different contents of the data field (like hostname or arbitrary text) This menu provides a complete list with all DNS records stored on the serverĭNS data field. This menu provides a list with all address (DNS type "A") records stored on the server To set 159.148.60.2 as the primary DNS server and allow the router to be used as a DNS server, do the ip dns> set servers=159.148.60.2 \ Note: If allow-remote-requests is used make sure that you limit access to your server over TCP and UDP protocol. When both static and dynamic servers are set, static server entries are more preferred, however it does not indicate that static server will always be used (for example, previously query was received from dynamic server, but static was added later, then dynamic entry will be preferred). List of dynamically added DNS server from different services, for example, DHCP. Shows the currently used cache size in KiB Servers ( list of IPv4/IPv6 addresses Default: ) Note that this setting must be configured taking into account query-server-timeout and number of used DNS server. Specifies how long to wait for query response in total. Specifies how long to wait for query response from one server Max-udp-packet-size ( integer Default: 4096) Specifies how much concurrent TCP sessions are allowed Max-concurrent-tcp-sessions ( integer Default: 20) Specifies how much concurrent queries are allowed Max-concurrent-queries ( integer Default: 100) Shorter TTL received from DNS servers are respected.Ĭache-size ( integer Default: 2048) In other words, cache records will expire unconditionally after cache-max-ttl time. Specifies whether to allow network requests When the remote requests are enabled, the MikroTik router responds to TCP and UDP DNS requests on port 53.ĭNS facility is used to provide domain name resolution for router itself as well as for the clients connected to it.Īllow-remote-requests ( yes | no Default: no) Moreover, MikroTik router can be specified as a primary DNS server under its dhcp-server settings. A MikroTik router with DNS feature enabled can be set as a DNS server for any DNS-compliant client.