Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NSS_RESINIT(8)		     System Manager's Manual		  NSS_RESINIT(8)

NAME
     nss_resinit -- resolver re-initialization NSS module

SYNOPSIS
     hosts: resinit

DESCRIPTION
     The  nss_resinit  is  a  module  for the nsswitch subsystem which makes re-
     solver(3) reread resolv.conf(5) when it is updated.  In the traditional im-
     plementation of resolver(3) it is initialized by the application  once  and
     never  reread  resolv.conf(5) after that even if the file is updated.  This
     module is useful especially when name servers in resolv.conf(5) are changed
     frequently as seen in mobile environment.

     To activate nss_resinit, resinit keyword is required before dns keyword  in
     hosts entry of /etc/nsswitch.conf.  For example:

	   hosts: resinit files dns

     Once  resolv.conf(5)  was	reread,  nss_resinit prevents from rereading re-
     solv.conf(5) during certain period to intend to reduce overhead for  check-
     ing  a  modified  time  of resolv.conf(5).  This interval can be changed by
     setting kenv(2) variable nss_resinit_interval.  The default interval is  10
     seconds.

FILES
     /etc/nsswitch.conf

SEE ALSO
     nsdispatch(3), nsswitch.conf(5), resolver(3), resolv.conf(5)

AUTHORS
     Hajimu UMEMOTO <ume@mahoroba.org>

FreeBSD ports 15.quarterly	 April 10, 2006 		  NSS_RESINIT(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=nss_resinit&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help