This tutorial will be showing you how to set up and run your own authoritative name server on Ubuntu Note : This tutorial shows the command-line method. It provides authoritative answers to DNS resolvers like 8. A DNS resolver can also be called a recursive name server because it performs recursive lookups for local clients. To follow this tutorial, you should have already bought a domain name. I registered my domain name at NameCheap because the price is low and they give whois privacy protection free for life. You also need two servers. Ideally the two servers should be at different physical locations.
Installing the DNS server role
The DNS server is an easy and light service that can run on most machines. Cloud Servers Intel Xeon Gold 3. Installing a DNS server requires a domain zone.
Important: Before you start
The procedure for changing your DNS settings varies according to operating system and version Windows, Mac, Linux, or Chrome OS or the device computer, phone, or router. We give general procedures here that might not apply for your OS or device; consult your vendor documentation for authoritative information. Details on configuring this optional feature are in specific sections for each system. It is very important that you keep these numbers for backup purposes, in case you need to revert to them at any time. We also recommend that you print this page, in the event that you encounter a problem and need to refer to these instructions. You may also find answers on our user group page. Many systems let you to specify multiple DNS servers, to be contacted in priority order. In the following instructions, we provide steps to specify only the Google Public DNS servers as the primary and secondary servers, to ensure that your setup correctly uses Google Public DNS in all cases. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared default configuration. If your network is live, make sure that you understand the potential impact of any command. For more information on document conventions, refer to the Cisco Technical Tips Conventions. Your router can be configured to use DNS lookups if you wish to use the ping or traceroute commands with a host name rather than an IP address. Use these commands to do so:. Note: If there is no domain list, the domain name that you specified with the ip domain-name global configuration command is used. Ensure the router can reach the DNS server. Note: Ensure that you specify the ACL.