How to Install NTP Using Chrony in RHEL 8 NTP (Network Time Protocol) is a protocol which runs over port 123 UDP. NTP synchronize clients time and date with a master server. Chrony is a default NTP client as well as an NTP server on Red Hat Enterprise Linux 8. Service name = chronyd Install chrony on system # dnf install chrony -y # yum install chrony -y Now start the chronyd service, enable it to auto start at system boot and verify the running status: # systemctl start chronyd # systemctl status chronyd # systemctl enable chronyd Now Configure NTP Server Using Chrony: set up your RHEL 8 server a master NTP time server. Open the /etc/chrony.conf: # vim /etc/chrony.conf Now search for the “allow” configuration directive and uncomment it and set the network addresses from which the clients are allowed: #allow 192.168.0.0/16 now save and exit Restart the chronyd service # systemctl restart chronyd Now op...
How to install caching only DNS server in RedHat 8 / Centos 8 package name = bind service name = named port number = 53 rndc port = 953 rndc it uses only the loopback address, rndc is used to manage the name server. First install the required packages using yum or dnf: Yum install bind bind-utils -y Take the backup of named.conf before configuration: Cp -p /etc/named.conf /etc/named.conf.orig Information about bind “named” package: rpm -qi bind exploring files and directories of bind “named” server: rpm -ql bind Now configure dns server open the file “vim /etc/named.conf” and make changes: [root@itsummation ~]# vim /etc/named.conf // options { listen-on port 53 { localhost ; 192.168.56.12; }; ...
Comments
Post a Comment