nsswitch.conf 5 - Linux man page
« The Name Service Switch (NSS) configuration file, /etc/nsswitch.conf, is used by the GNU C Library to determine the sources from which to obtain name-service information in a range of categories, and in what order. Each category of information is identified by a database name. »
Pour bypasser le fichier /etc/hosts (sauf localhost ;) ), il faut indiquer « hosts: dns » dans ce fichier en lieu et place de « hosts: files dns ».
Pour bypasser /etc/services, « services: db » au lieu de « services: db files ». Même chose pour /etc/protocols.
November 3, 2014 at 8:39:36 PM UTC
- permalink
-
http://linux.die.net/man/5/nsswitch.conf