The Name Service Switch consists of 16 types of information and the various sources that may be used in the getXbyY routines search for that information.
The 16 types of information, (there maybe more) not necessarily in this order, are:
Soem of these maybe cached by NSCD or SSSD.