Home / Mikrotik Router Configuration / How to Configure Mikrotik DNS Server

How to Configure Mikrotik DNS Server

How to Configure DNS Server Mikrotik – Maybe you’ve heard the term’s DNS servers. DNS (Domain Name System) server functions to map the hostname or domain web sites on the Internet to its IP address (an IP address into). For the record, computer networks (including the Internet) to communicate using IP addresses instead of domain names such as .com, .net, .org, etc. That is to configure the user’s computer or router that will access the Internet its DNS server must be configured first. If not, then the site that will be addressed is inaccessible due to its IP address can not be known.
To configure DNS Server in Mikrotik you could be setting it via the command line or via winbox. Here is an example of command giving 8.8.8.8 DNS Server (DNS has Google):
[Admin @ MikroTik]> set ip dns servers = 8.8.8.8 allow-remote-requests = yes
Check whether the DNS settings have been entered.
[admin @ MikroTik]> ip dns print
servers: 8.8.8.8
dynamic-servers:
allow-remote-requests: yes
max-udp-packet-size: 4096
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 9KiB
In the command above mean allow-remote-requests = yes is going to make your Mikrotik Router as a DNS server also. So that the DNS configuration on the user’s computer is quite directed to Mikrotik Router, and no longer point to Google’s DNS server or ISP, or other. It can save your bandwidth usage for DNS questions will only be given to your Mikrotik Router.
To more easily you can use to configure the DNS Server Winbox in Mikrotik via the menu IP -> DNS -> Settings button, it will appear like this:
Set Mikrotik DNS
We recommend that you configure more than one DNS server, so that when the first server is down we can still use the second server. You can enter its DNS server as shown above or via the command line with the following command:
[Admin @ MikroTik]> set ip dns servers = 8.8.8.8,8.8.4.4 allow-remote-requests = yes
After the DNS server has been configured in Mikrotik. Mikrotik Router then it should already be connected to the internet. Check the connection to the Internet by pinging website such as google.com.
Ping google.com in mikrotik
Use Ctrl + C to stop the pinging process.

About admin

Check Also

Load Balance 2 WAN in Mikrotik

How to Load Balance 2 WAN in Mikrotik

How to Load Balance 2 WAN in Mikrotik This article again discusses Load Balancing, which …

Leave a Reply

Your email address will not be published. Required fields are marked *