In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you what RHEL4 DDNS update techniques are, concise and easy to understand, definitely can make your eyes shine, through the detailed introduction of this article I hope you can gain something.
Computer in the application process will have a lot of skills worth our attention, the application of these skills can make our operation speed faster and more convenient. RHEL4 DDNS update skills is a very worthy of our study, the following to explain RHEL4 DDNS update skills.
RHEL4 DDNS Update Tips for Generating Keys
# dnssec-keygen -a HMAC-MD5 -b 128 -n USER DHCP_UPDATER
Kdhcp_updater.+ will be generated in the current directory xxx+xxxxx.key and.private
# cat Kdhcp_updater.+ xxx+xxxxx.key
DHCP_UPDATER. IN KEY 0 2 157 qSSpjerAuaPE/X3JJyxSww==
qSSpjerAuaPE/X3JJyxSww== The following will be used
2. RHEL4 DHCP update technique
Add dhcpd.conf after dhcpd.conf
# ----------- DDNS -----------------
key DHCP_UPDATER {
algorithm HMAC-MD5;
secret "qSSpjerAuaPE/X3JJyxSww==";
}
zone scott.home. {
primary 127.0.0.1;
key DHCP_UPDATER;
}
ps: The "#" in front of option domain-name and option domain-name-servers in PXE installation can also be removed, because we will set DNS below.
RHEL4 DDNS Update Tips for DNS
# rpm -qa | gerp bind
See if there are bind-xx and bind-chroot-xx. In theory, chroot can improve security, but it's a bit cumbersome to set up.
# rpm -qa | gerp caching-name
See if caching-nameserver is installed. If it is not installed, you have to write named.ca and other documents yourself.
# vi /etc/named.conf added in ***
key DHCP_UPDATER {
algorithm HMAC-MD5;
secret "qSSpjerAuaPE/X3JJyxSww==";
};
zone "scott.home" IN {
type master;
file "scott.home.zone";
allow-update { key DHCP_UPDATER; };
};
# cd /var/named/chroot/var/named
# cp localdomain.zone scott.home.zone
# chown named:named scott.home.zone
# cd /var/named/chroot/var
# chown named:named named/
# cd /var/named
# ln -s /var/named/chroot/var/named/scott.home.zone
# vi scott.home.zone (modify your own DNS settings, don't copy me)
$TTL 86400
@ IN SOA scott.home. root.scott.home. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS scott.home.
@ IN A 192.168.1.100
4. RHEL4 DDNS update tips firewall iptables
# iptables -F
# iptables -P INPUT DROP
# iptables -A INPUT -i lo -j ACCEPT
# iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# iptables -A INPUT -s 192.168.1.0/24 -p tcp -m multiport --dports 53,953 -j ACCEPT
# iptables -A INPUT -s 192.168.1.0/24 -p udp -m multiport --dports 53,953 -j ACCEPT
# /etc/init.d/iptables save iptables:service iptables stop
RHEL4 DDNS Update Tips for Startup Services
# /etc/init.d/dhcpd restart
# chkconfig dhcpd on
# /etc/init.d/named restart
# chkconfig named on
RHEL4 DDNS Update Tips Test
Add a file/etc/dhclient.conf on the client that reads as follows
send fqdn.fqdn "test"; //test hostname of this machine
send fqdn.encoded on;
send fqdn.server-update off;
Run dhclient or restart
The requested URL/var/named/chroot/var/named was not found on this server.
File such as: scott.home.zone.jnl At this time ping test.scott.home to see if PING can be connected
All tests passed.
What is the RHEL4 DDNS update technique and have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to 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.