[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use /etc/hosts or smtproutes?
- To: qmail <qmail@xxxxxxxxxxxxx>
- Subject: Re: How to use /etc/hosts or smtproutes?
- From: Aristeu Gil Alves Jr <waristeu@xxxxxxxxxxxx>
- Date: Tue, 03 Feb 2004 16:59:02 -0300
- Delivered-to: de5-qmail@sws5.ornl.gov
- Delivered-to: mailing list qmail@list.cr.yp.to
- Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
---------- Cabeçalho inicial -----------
De: Adam McKenna <adam@xxxxxxxxxxxx>
Para: qmail@xxxxxxxxxxxxx
Cópia:
Data: Tue, 3 Feb 2004 10:59:47 -0800
Assunto: Re: How to use /etc/hosts or smtproutes?
> On Tue, Feb 03, 2004 at 01:28:39PM -0500, Dave Sill wrote:
> > >-- Or change the resolv.conf to look at local files first?
> >
> > Not a solution.
>
> And not possible. Perhaps he is thinking of host.conf.
>
> --Adam
>
I agree with Dave's thinking.
But about not being possible, on some systems we have the "lookup" key on resolv.conf.
An example is OpenBSD's resolv.conf:
lookup files bind
nameserver xxx.xxx.xxx.xxx
It searches for local files (hosts) first, then go to DNS after.
http://www.openbsd.org/cgi-bin/man.cgi?query=resolv.conf&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
regards
--aristeu