> 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 [EMAIL PROTECTED] http://www.simegen.com/~jenn
>
>
>
> _______________________________________________
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk
>
_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk