[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: caching dns lookups



Dan,
You are a bit confused. The resolv.conf is for the ip stack
(gethostbyname) to know how to search. You point it to your bind process
by configuring nameserver 127.0.0.1 .
Dani

On Wed, 29 Aug 2001, Baruch Even wrote:

> Drop bind, it's too big and does way too much for you to bother with it.
>
> Check out pdnsd, it's a caching dns server intended for a dial up
> computer, it will cache dns entries between computer shutdown, something
> that bind doesn't do, and is trivial to setup.
>
> I believe there is an RPM for it.
>
> * Dan Kenigsberg <danken@cs.Technion.AC.IL> [010829 19:55]:
> > Hi.
> >
> > I have RH7, and I tried to configure DNS caching.
> > Excuse me, but I drownd in documentation and configuration files.
> >
> > I've installed caching-nameserver rpm and I am running `named'.
> >
> > I'm guessing that resolv.conf should contain a line as
> >
> > 	nameserver 127.0.0.1
> >
> > so that bind (?) would know to ask localhost for names, and that some
> > vague named configuration file should contain the remote dns I wish to
> > access.
> >
> > Is my guess correct? If not - why what I did does not work (repeated requests
> > still take half-seconds)? Why dns caching is not the common configuration for
> > linux workstations? Or is it?
> >
> > Dan.
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
> >
>
> --
> Baruch Even
> http://baruch.ev-en.org/
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il