[techtalk] DNS & Linux

GeekGrrl geekgrrl at geekgrrl.org
Fri Jun 2 15:10:55 EST 2000


nsswitch.conf seems to be mostly used for NIS situations from what I have
found. It is a slightly different critter then host.conf. You will
probably have to ask someone else for more details on that as I do not run
NIS.


On Fri, 2 Jun 2000, Stephanie Alarcon wrote:

> > You can do this on all Unices and Linux distros. Whether your host
> > table or dns is looked at for resolution is specified in
> > /etc/host.conf. It could be one, or the other, or both in various
> > orders.
> 
> hey, i didn't know that.  well then what about nsswitch.conf?  that has
> this line, which i thought did what you described above.
> 
> hosts:      files dns nis nisplus
> 
> Does host.conf supercede it? is nsswitch.conf used for more complex
> situations and hosts.conf for simple ones?
> 
> thanks! 
> stephanie






More information about the Techtalk mailing list