Introduction to DNS Servers
DNS is the abbreviation for a computer domain Name System or domain name Service, which consists of a domain name resolver and a domain name server. A domain name server is a domain name and corresponding IP address that holds all the hosts in the network, and a server that converts the domain name to the IP address feature. Where the domain name must correspond to an IP address, an IP address can have more than one domain name, and the IP address does not necessarily have a domain name. The domain Name system uses a hierarchical structure similar to the directory tree. A domain name server is typically a server side in client/server mode, and it has two main forms: the primary and the forward server. The process of mapping a domain name to an IP address is called "Domain name resolution." The DNS server is the one that provides the DNS service. A DNS server can be divided into three cache servers (cache-only server), a primary server (Primary name server), and a secondary server (Second name server).
Generally operating domain names preferably have two or more DNS servers, one is called the primary domain name server, and the other is called from the domain name server. A second DNS server is typically used for failover: if one is down, the other is activated as a DNS server.
To view DNS information for a server
How do you view the configured DNS server information in a Linux system? Generally there are several methods
1: View/etc/resolv.con file
[Email protected] ~]# cat/etc/resolv.conf
NameServer 192.168.xxx.xxx
#search Localdomain
[Email protected] ~]#
How Linux looks at modifying DNS configuration