GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NSS_RESINIT(8) FreeBSD System Manager's Manual NSS_RESINIT(8)

nss_resinit
resolver re-initialization NSS module

hosts: resinit

The nss_resinit is a module for the nsswitch subsystem which makes resolver(3) reread resolv.conf(5) when it is updated. In the traditional implementation 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 resolv.conf(5) during certain period to intend to reduce overhead for checking 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.

/etc/nsswitch.conf

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

Hajimu UMEMOTO ⟨ume@mahoroba.org⟩
April 10, 2006 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.