[indiana-discuss] DNS problem in 2008.05 RC2

Bart Smaalders bart.smaalders at Sun.COM
Thu May 1 17:13:51 PDT 2008


Vitaly Davidenko wrote:
> Thanks, Steffen
> DNS  works, it happens immediately after modification of the file /etc/ 
> nsswitch.conf
> It is magically that not need to restart any system service after  
> modification of /etc file.
> 

The nscd stat's this file before doing name service lookups.  If it changes,
the nscd exits and gets re-exec'd:

http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/nscd/nscd_frontend.c#_nscd_restart_if_cfgfile_changed

- Bart


-- 
Bart Smaalders			Solaris Kernel Performance
barts at cyber.eng.sun.com		http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."


More information about the indiana-discuss mailing list