In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
What is the DNS domain name resolution service? in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
DNS domain name resolution service is based on configuration 1 in CentOS7. DNS forward resolution
Alias resolution and pan-domain name resolution software package
(1) install bind package on linux
Check the installed bind package
Enter the main configuration file of the BIND service to configure
Change the address to your local IP address. Change permission localhost to any
Enter the zone configuration file and modify it.
Add a paragraph to it and add the domain name you want to resolve.
Enter the / etc/named/ configuration file, make a copy of the named.localhost zone data configuration file, and match it to the directory of the domain name resolution file you just added
Enter the zone data configuration file and modify it
Contents of the original file of kgc.com.zone
Modify the chart above as below, add the domain name to be resolved and the corresponding URL, and add alias resolution and pan-domain name resolution.
Turn off the local firewall and secure ports.
Start the named service and view the native TCP port service.
Set the DNS resolution address to the native IP address, overwrite the original file, and use the host command to view the configuration of domain name resolution.
2. Reverse parsing of DNS
Operate on the basis of forward parsing
Enter the zone configuration file to modify
Add the address to be resolved, and add the directory of the zone data profile. Save and exit after adding
Copy a copy of the zone data configuration file kgc.com.zone, copy it to yun.com.local, and modify it
Modify the contents and add a new reverse resolution address
Restart the named service and view reverse parsing
3. Master-slave synchronization of DNS
Start another virtual machine and install the bind package on the virtual machine
Enter the main configuration file for configuration
After entering, make the following modifications
Enter the zone configuration file for configuration
After entering, make the following changes to the zone configuration file
Return to the host and enter the zone configuration file to modify it.
Make some changes to the contents
Restart the named service
Return to the slave machine, open the named service, and view the configuration file of the zone data obtained from the host
Configure the local address and redirect it to the DNS address profile
Perform domain name resolution
This is our configuration for domain name resolution.
The answer to the question about DNS domain name resolution service is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 229
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.