Learn How to Set Up Primary/Secondary DNS in CentOS / RHEL 7.6
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 184.108.40.206 / 220.127.116.11. 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 concept. The main DNS server is also known as the Primary DNS Server. In Linux, we will be using popular software to install DNS named BIND. It 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.
The Secondary DNS Server acts as a Backup server or a Load Balancer of the Primary DNS Server. This will fetch all DNS zone records from the Primary server. The Secondary server is a typically a copy of the Main.. The main advantage of using this setup is that when the Primary DNS server goes down for some reason or is unavailable then it can provide redundancy. This means it will accept all queries from the end users. The user may not know whether his request is going through the Primary or Secondary DNS. They get the page whose link they clicked on.
* The terms “master” and “slave” in a technical setting are falling into disuse in favor of more accurate and inclusive language.
The post Learn How to Set Up Primary/Secondary DNS in CentOS / RHEL 7.6 appeared first on Linux Today.
Source: Linux Today