DNS Domain name Resolution Service
2018 10 About 23rd GAO
First, the DNS domain name resolution concept
Classification of DNS:
1. cache domain Name Server =====>> help you to find the domain name resolution, itself can not parse;
2. Primary Domain name resolution server =====>> He maintains a domain name of the interpretation of the notebook;
3. From the domain name resolution server =====>> primary Domain name resolution server backup, high availability;
4. Intelligent parsing server =====>> returns different results depending on the region;
The notebook includes two analytical records:
1. Forward parsing: domain name =====>>ip
2. Reverse parsing:ip=====>> domain name
DNS two ways of querying:
1. Recursive lookup;
2. Iterative Lookups
Second, the installation and control of Bbind
The main function of 1.RPM package
Bind: The main program and related files that provide the domain name server
Bind-utils: Provides a test utility for the DNS server, such as Nslookup
Bind-libs: Provides library functions that bind,bind-utils need to use
Bind-chroot: Provides a disguised root directory for the BIND service to improve security; also known as jail (prison) mechanism
2. Configure DNS domain name Resolution service
DNS support packages need to be installed first for both the DNS client and the server Bind,bind-chroot
Then modify the DNS master configuration file vim/etc/named.conf
Save, exit, check the configuration file, if not error, the configuration file is no problem
Start the Domain Name resolution service
To see if the listening port is open
Modify the client temp file to change IP to server IP address
Finally, the DNS domain name resolution service is configured to complete, and the client ping www.baidu.com,ping-pass instructions are configured successfully.
DNS Domain name Resolution Service