Linux——DNS domain name resolution service

  • Personal profile: Cloud computing network operation and maintenance professionals, understand operation and maintenance knowledge, master TCP/IP protocol, share network operation and maintenance knowledge and skills every day.
  • Motto: The sea does not shy away from water, so it can become big; the mountain does not shy away from stones, so it can grow taller.
  • Personal homepage: Xiaolihui Technology's homepage 

Table of contents

 Foreword:

 1. Function and type of DNS system

1. Function of DNS system (analysis method): ***

 2. Types and functions of the DNS system: ***

3. BIND server program:

 2. BIND domain name service

1.BIND(Berkeley Internet Name Daemon)

2. BIND server program

3. Build a caching domain name server

1. Case environment

2. Basic configuration steps for building a caching domain name server

3. Build master and slave domain name servers 

1. Case environment

2. Build the basic configuration steps of the primary domain name server​Edit

 3. Build the basic configuration steps of the slave server


 Foreword:

DNS (Domain Name System, Domain Name System) is a distributed naming system for resolving hostnames and domain names into IP addresses. DNS service is an important part of modern IT systems and one of the basic facilities for Internet communication

 1. Function and type of DNS system

1. Function of DNS system (analysis method): ***

  • Forward resolution: Find the corresponding IP address based on the host name (domain name)
  • Reverse analysis: Find the corresponding host domain name according to the IP address


 2. Types and functions of the DNS system: ***

  • 1>Cache domain name server, also known as cache server
  • (query domain name, cache local, improve speed)
  • 2>Primary domain name server
  • (Maintain all mapping records in this area)
  • 3>Secondary domain name server, also known as secondary domain name server
  • (maintains records originating from the primary nameserver)

3. BIND server program:

  1. Main executive program: /usr/sbin/named
  2. Default listening port: 53
  3. Main configuration file: /etc/named.conf
  4. The data file that saves DNS resolution records is located in: /var/named/

 2. BIND domain name service

1.BIND(Berkeley Internet Name Daemon)

Berkeley Internet Domain Name Service
official site: https://www.isc.org/

Related packages
bind-9.9.4-37.el7.x86_64.rpm
bind-utils-9.9.4-37.el7.x86_64.rpm
bind-libs-9.9.4-37.el7.x86_64.rpm
bind-chroot- 9.9.4-37.el7.x86_64.rpm


2. BIND server program

Main execution program: /usr/sbin/named
Default listening port: 53
Main configuration file      /etc/named.conf
The data file for saving DNS resolution records is located in     /var/named/ 


3. Build a caching domain name server

1. Case environment
  1. The IP address of the caching domain name server is 192.168.1.5
  2. PCs in the LAN set the preferred DNS server to 192.168.1.5
  3. Caching domain name servers can access other DNS servers in the Internet
  4. Responsible for processing DNS resolution requests from PCs on the LAN and caching query results


2. Basic configuration steps for building a caching domain name server


3. Build master and slave domain name servers 

1. Case environment

Primary domain name server: ns1.bdqn.com, 173.16.16.5
Secondary domain name server: ns2.bdqn.com, 173.16.16.6
Both servers can provide domain name resolution main resolution records of bdqn.com area

  •  Main analysis records The website server "www.bdqn.com", the IP address is "173.16.16.1"
  •  Mail server "mail.bdqn.com", IP address is "173.16.16.2"
  •  Online training site server "study.bdqn.com", IP address is "173.16.16.3"
  • Pan-domain name resolution of the bdqn.com domain, the corresponding IP address is 173.16.16.1 

2. Build the basic configuration steps of the main domain name server

 3. Build the basic configuration steps of the slave server

 

The most important thing in life is not where you stand, but the direction you are facing
. Thank your support and attention. Like and collect~~~Welcome to CSDN

Guess you like

Origin blog.csdn.net/m0_64292323/article/details/131392862