How to implement DNS service under Linux

  
 

DNS (Domain Name System), a distributed database on the Internet that maps domain names and IP addresses to each other, enabling users to access the Internet more easily without having to remember the IP that can be directly read by the machine. Number string. The process of obtaining the IP address corresponding to the host name by the host name is called domain name resolution (or host name resolution). [Text] This article gives a simple operation instruction on how to implement the basic DNS service in Linux. First, after a brief introduction to the DNS resolution process, a detailed step-by-step demonstration of DNS configuration under Linux is provided.

A DNS resolution process description

1.1 DNS resolution process:
For example, parsing www.redhat.com, the first step is to query the local host file and cache for this record. Direct resolution, no access to the DNS server, if the DNS server does not have www.redhat.com or redhat.com is not in the DNS server management area you access, then the DNS server will send a recursive query to the dot root domain name server, if found After logging, the DNS will be returned to the client, and the record will be stored in its own cache. The next time there is a client request, it will call its own cache, and will discard the record until the end of its lifetime.

Second Server Installation and Configuration

2.1 Installing Bind Software on the Server Side Using YUM

2.2 Modifying the Host Name to FQDN Format

2.3 After configuring the configuration file, configure it. Br> The following figure is a detailed description of the configuration file to modify the configuration file

Copyright © Windows knowledge All Rights Reserved