[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: caching dns lookups
- To: darbel(at-nospam)techunix.technion.ac.il (Dani Arbel)
- Subject: Re: caching dns lookups
- From: Dan Kenigsberg <danken(at-nospam)cs.Technion.AC.IL>
- Date: Wed, 29 Aug 2001 22:14:51 +0300 (IDT)
- Cc: linux-il(at-nospam)linux.org.il
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <Pine.GSO.4.33.0108292154270.21419-100000@techunix.technion.ac.il> from "Dani Arbel" at Aug 29, 2001 09:58:21 PM
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Dani,
Indeed I am confused - or else I wouldn't have asked the question in the first
place. I understand from your answer that my guest about resolv.conf was correct
- it has to point to myself.
But what about the rest of it? How do I configure named to query my favorite DNS
server?
Dan.
>
> 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
>
=================================================================
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