In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you how to build a DNS server in linux redhat6.5, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
DNS (Domain Name System, Domain name system), a distributed database on the World wide Web 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 domain name through the domain name is called domain name resolution (or hostname resolution). DNS protocol runs on top of UDP protocol, using port number 53.
The following will explain in detail the construction and configuration of the DNS server
1: first install the software package bind and the toolkit bind-utils.
2: edit the main configuration file named.conf
Change listening IP
Change to all IP (any) can use DNS service
3: edit the area file named.rfc1912.zones
Add the configuration content in the box
4: to the / var/named directory
Copy named.localhost and name it benet.com.zone
Edit benet.com.zone (add address resolution record)
5: start the named service
Enter host www.benet.com to see that the resolution succeeded and the IP is 192.168.100.118.
Forward parsing successful
6: reverse parsing
Edit / etc/named.rfc1912.zones
7: to the / var/named directory
Copy named.localhost and name it benet.com.local
Edit benet.com.local (reverse parsing profile)
8: reload the configuration file
Test host 192.168.100.99
You can see that the domain name resolved successfully is ftp.benet.com.
9: open a WIN7 to test the resolution
Open the control panel programs to turn windows on or off
Open the web management and World wide Web services.
10: set IP and DNS of windows7
11: open the browse page and enter www.benet.com or 192.168.100.118 to access the page.
These are all the contents of the article "how to build a DNS server in linux redhat6.5". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.