In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install and configure DNS server under Linux". In daily operation, I believe many people have doubts about how to install and configure DNS server under Linux. Xiaobian consulted all kinds of information and sorted out simple and easy operation methods. I hope to help you answer the doubts of "how to install and configure DNS server under Linux"! Next, please follow the small series to learn together!
BIND (Berkeley Internet Name Daemon) is used as DNS server in Linux operating system.
Redhat 7.3 release is an example of how to install, start, and stop BIND.
I. Software and hardware environment of BIND server:
1. PC with Redhat Linux 7.3 installed, 3 installation CDs for Redhat Linux 7.3.
2. Required packages to install (on CD 2 of Redhat Linux 7.3):
bind-9.2.0-8.i386.rpm (BIND server package)
caching-nameserver-7.2-1.noarch.rpm (DNS cache server package)
bind-utils-9.2.0-8.i386.rpm (DNS Tester Package)
Installation of BIND Server:
1. Put the second CD of Redhat Linux 7.3 into the CD drive of the Linux host;
2. Log in to Linux as root and execute the following command:
# mount /mnt/cdrom
# cd /mnt/cdrom/RedHat/RPMS
# rpm -ivh bind-9.2.0-8.i386.rpm
# rpm -ivh caching-nameserver-7.2-1.noarch.rpm
# rpm -ivh bind-utils-9.2.0-8.i386.rpm
# cd
# umount /mnt/cdrom
If the above commands are executed correctly, the relevant software packages of the BIND server are successfully installed into the Linux system.
Start and Stop of BIND Server:
1. Startup script for BIND server:
/etc/rc.d/init.d/named
2. Command to start BIND server:
service named start
3. Command to stop BIND server:
service named stop
4. Command to restart BIND server:
service named restart
5. Command to query BIND server status:
service named status
At this point, the study of "how to install and configure DNS server under Linux" is over, hoping to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!
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.