You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI-How to Enable the Name Service Cache in Oracle Linux 7 

Applies to: 

Oracle Cloud Infrastructure - Version N/A and later 

Linux x86-64 

Oracle Linux 7 

Goal: 

This document outlines the steps required to enable the Name Service Cache in  Oracle Linux 7 

 

Solution: 

In order to enable name server caching, the nscd service is required-

1) If not already installed, install it using the following command 

$ sudo yum install nscd 

 

2) Enable and start the nscd service 

$ sudo systemctl enable nscd.service 
$ sudo systemctl start  nscd.service 

 

3) Log file creation – add or change the /etc/nscd.conf to include the following lines 

logfile                 /var/log/nscd.log 
debug-level             5 

Note 1 :  set the debug level to anything above 0 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!