Set Up and Configure Primary and Secondary DNS in CentOS/RHEL

This article will help you to set up DNS (Domain Name System) on a Linux/Unix-based system. DNS is mainly used to resolve host-names, which means it can easily bind IP addresses into a fully qualified domain name (FQDN) like www.linuxteck.com or www.google.com to IP addresses like or It is one of the basements of the internet. When you look for a domain name in a browser, it sends a question over the net to take a look at the domain with its corresponding IP address. Once identified, it uses the IP address to retrieve the website’s information. This whole technique takes simply milliseconds. DNS terms are used by many names, like name servers, domain name systems, and nameservers.

Here we are going to look at the Primary/Secondary DNS concepts. The master DNS server is also known as the Primary DNS Server. In Linux, we will be using BIND to install DNS. BIND stands for Berkely Internet Name Domain, we implement DNS Service/Protocol used to translate Domain Name into IP address and IP address into Domain Name.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis