Monday, May 29, 2017

RHEL7.3 - Install NSCD - Name Service Cache Daemon


Install NSCD - Name Service Cache Daemon

[root@puppet puppet-enterprise-2017.2.1-el-7-x86_64]# yum install nscd

[root@puppet puppet-enterprise-2017.2.1-el-7-x86_64]# systemctl start nscd
[root@puppet puppet-enterprise-2017.2.1-el-7-x86_64]# systemctl status nscd
● nscd.service - Name Service Cache Daemon
   Loaded: loaded (/usr/lib/systemd/system/nscd.service; disabled; vendor preset: disabled)
   Active: active (running) since Mon 2017-05-29 20:19:53 EDT; 7s ago
  Process: 13229 ExecStart=/usr/sbin/nscd $NSCD_OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 13230 (nscd)

To flush/clear DNS Cache you need to restart “nscd” service if installed.

[root@puppet puppet-enterprise-2017.2.1-el-7-x86_64]# systemctl restart nscd