[techtalk] DNS and Apache Server

Stephanie Alarcon beleza at bci-bluestone.com
Fri Jun 2 15:11:21 EST 2000


> 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


> 
> Example: order hosts, bind
> This will look to your hosts file first, then to DNS.
> 
> On Sat, 3 Jun 2000, Jenn V. wrote:
> 
> > I circumvent the DNS for the critical lookup-hosts on my machines. 
> > I add them to /etc/hosts.
> > 
> > This is probably not technically 'good' sysadminning, but it works
> > for me.
> > 
> > (note: I use Debian, in case this is relevent.)
> > 
> > 
> > Jenn V.
> > -- 
> >   "We're repairing the coolant loop of a nuclear fusion reactor. 
> >    This is women's work!"
> > 		Helix, Freefall. http://www.purrsia.com/freefall/
> > 
> > Jenn Vesperman    jenn at simegen.com     http://www.simegen.com/~jenn
> 
> 
> 
> _______________________________________________
> techtalk mailing list
> techtalk at linuxchix.org
> http://www.linux.org.uk/mailman/listinfo/techtalk
> 






More information about the Techtalk mailing list