In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What is DNS domain name resolution
DNS (Domain Name System, Domain name system), a distributed database on the Internet as a mapping between domain names and IP addresses, can make it more convenient for users to access the Internet without having to remember the IP strings that can be read directly by the machine. The process of getting the IP address corresponding to the host name through the host name is called domain name resolution (or host name resolution). DNS protocol runs on top of UDP protocol, using port number 53. In RFC documents, RFC 2181 has specification for DNS, RFC 2136 for dynamic updates of DNS, and RFC 2308 for reverse caching of DNS queries.
The DNS zone is divided into two categories: forward lookup zone and reverse lookup zone, in which the forward lookup zone is used for FQDN-to-IP address mapping. when a DNS client requests to resolve a FQDN, the DNS server looks in the forward lookup zone and returns it to the corresponding IP address of the DNS client. The reverse lookup zone is used for IP address to FQDN mapping. When a DNS client requests to resolve an IP address, the DNS server looks in the reverse lookup zone and returns it to the corresponding FQDN of the DNS client. Depending on the zone category and zone type, the operation when creating a zone on the DNS server is also different.
Forward resolution: querying IP addresses according to domain names is the most basic and most commonly used function of DNS reverse parsing: querying domain names according to IP addresses is not commonly used.
II. Environment
The forward parsing experiment of DNS is completed in a Centos 7 virtual machine.
III. Experiment
1. Install bind package
two。 Modify the master configuration file
3. Modify the zone profile
4. Modify the zone data profile
Copy zone data files to kgc.com.zone
5. Turn off the firewall, turn off enhanced security, and turn on the domain name resolution service.
Once all the configurations are complete, we can begin to test whether domain name resolution can be performed.
DNS forward parsing configuration completed!
Summary
In the process of configuring DNS forward parsing, there are many configuration files that need to be modified, including main configuration file, area configuration file, area data configuration file, so we must remember the directory where the configuration file is located, and be careful not to make mistakes in the process of modification!
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: 0
*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.