Name Service Caching

Team-Fly    

Solaris™ Operating Environment Boot Camp
By David Rhodes, Dominic Butler
Table of Contents
Chapter 15.  Dialing in with PPP


When the connection has been torn down, you may find that the PPP link is often reactivated. The reason for this is that the name service cache daemon, /usr/sbin/nscd, will cache the hosts file and force the connection up to rebuild its data at certain intervals. We only really want the connection to be opened at our request, so we'll disable hosts caching. We do this by altering the hosts entry, then restarting the daemon. The file is shown below after modification, along with the tasks required to restart it:

 cesium# grep enable-cache /etc/nscd.conf        enable-cache            hosts           no cesium# /etc/init.d/nscd stop cesium# /etc/init.d/nscd start cesium# 

    Team-Fly    
    Top
     



    Solaris Operating Environment Boot Camp
    Solaris Operating Environment Boot Camp
    ISBN: 0130342874
    EAN: 2147483647
    Year: 2002
    Pages: 301

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net