nscd (Name Service Cache Daemon) is capable cache passwd, group, hosts local cache service, corresponding to the three source /etc/passwd,/etc/hosts,/etc/resolv.conf. Its most obvious effect is to accelerate the speed of DNS resolution, frequent calls within the network environment is recommended to turn the interface.
Clear Cache command
There may nscd not installed, the following explain what, installation, startup, clear cache command
1. Install nscd
2. Check the status and startup command
# View the status systemctl start nscd
# Enable nscd
nscd service is off by default, opened by service nscd start.
3. After starting nscd service, clear cache
When you turn nscd service caches of hosts, each internal interface requests are not initiated dns resolve the request, but a direct hit nscd cache hash table, so as to obtain the corresponding server ip address, this can reduce the response time when a large number of internal interfaces of interface requests .