Acquire the used databases from nsswitch.conf

With the command "getent" you can acquire any database and the tool
uses the configuration form the nsswitch.conf to retirve the data.

e.g.
getent hosts
shows you all resolveable hosts in NIS,DNS,files or whaterver you defined.