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 126.96.36.199 DNS Server (DNS has Google):
[Admin @ MikroTik]> set ip dns servers = 188.8.131.52 allow-remote-requests = yes
Check whether the DNS settings have been entered.
[admin @ MikroTik]> ip dns print
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:
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 = 184.108.40.206,220.127.116.11 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.
Use Ctrl + C to stop the pinging process.