[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: caching dns lookups
- To: "Dan Kenigsberg" <danken(at-nospam)cs.Technion.AC.IL>, "Dani Arbel" <darbel(at-nospam)techunix.technion.ac.il>
- Subject: Re: caching dns lookups
- From: "Oded Arbel" <oded(at-nospam)geek.co.il>
- Date: Wed, 29 Aug 2001 23:10:21 +0200
- Cc: <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- References: <200108291914.WAA02472@csd.cs.technion.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
In your named.conf file, in the options section add the following bit of
text :
forwarders {
<ip of first dns server>;
<ip of second dns server>;
<etc.>;
};
I personaly don't take the time and just let bind query whatever he likes.
Oded
--
Women like silent men. They think they're listening.
----- Original Message -----
From: "Dan Kenigsberg" <danken@cs.Technion.AC.IL>
To: "Dani Arbel" <darbel@techunix.technion.ac.il>
Cc: <linux-il@linux.org.il>
Sent: Wednesday, August 29, 2001 9:14 PM
Subject: Re: caching dns lookups
> 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
>
>
=================================================================
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