Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Mark Kirkwood

I just use bind - setup to lookup from my ISP's nameservers and cache only.

The main reason for this was my ISP's ones are very slow (sometime 0.5 s 
to resolve!) - turning on the cache made an enormous difference to the 
perceived performance.


Cheers

Mark

Ralf Stephan wrote:

Hello,

I'm fed up with waiting for ever the same name requests from my
browser (and open servers don't cut it either): which DNS cache
or caching DNS for simple local installation would you recommend?

Regards,
ralf
  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Neil Bothwick
On Wed, 9 Apr 2008 17:01:33 +0200, Ralf Stephan wrote:

> > I use dnsmasq, can be used as a LAN cache too (by simply allowing
> > requests from a given interface). Took me about 30 minutes to
> > configure. I asked dhcp to save to resolv.conf.2 and made resolv.conf
> > to request from localhost.  
> 
> OK this works fine, thanks. However, udhcpd cannt be coaxed to
> write the servers to the new file, am I missing something?

dnsmasq can also operate as a DHCP server, so you don't need to use a
separate one.


-- 
Neil Bothwick

Things which must be shipped together as a set, aren't.


signature.asc
Description: PGP signature


Re: [gentoo-user] local caching DNS?

2008-04-09 Thread kashani

Andrew Gaydenko wrote:

Hi!
=== On Wednesday 09 April 2008, you wrote: ===
...

Does not seem to matter here much, since I suspend, not turn off. But
anyway, most DNS names should be cached only few hours, half a day or
so (well, there are some that have week long timeouts, but not many).


Not sure I have noticed drawbacks of using a permanent cache during few 
years - probably I use too stable net resources  :-)


	As an admin that occasionally has cause to shift traffic between coasts 
for maintenance I hate *hate* anything that ignores my TTLs and consider 
such software broken and bane upon our fair Internet.


kashani
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Ralf Stephan
vorner wrote 
> I use dnsmasq, can be used as a LAN cache too (by simply allowing
> requests from a given interface). Took me about 30 minutes to configure.
> I asked dhcp to save to resolv.conf.2 and made resolv.conf to request
> from localhost.

OK this works fine, thanks. However, udhcpd cannt be coaxed to
write the servers to the new file, am I missing something?

But it's not too bad, I don't reboot often.


Thanks for all the answers (and questions ;)
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread AG

Ralf Stephan ha scritto:

Hello,

I'm fed up with waiting for ever the same name requests from my
browser (and open servers don't cut it either): which DNS cache
or caching DNS for simple local installation would you recommend?

Regards,
ralf
  

what about dnscache of djbdns tools?
took 2 minutes to setup via dnscache-setup script.

andrea


--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Nuova offerta SKY:Vedi tutto SKY a 15€ al mese per 2 mesi: non perdere 
l'offerta!
* Solo con SKY puoi avere così tanto per così poco!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7765&d=9-4
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Andrew Gaydenko
Hi!
=== On Wednesday 09 April 2008, you wrote: ===
...
>
> Does not seem to matter here much, since I suspend, not turn off. But
> anyway, most DNS names should be cached only few hours, half a day or
> so (well, there are some that have week long timeouts, but not many).

Not sure I have noticed drawbacks of using a permanent cache during few 
years - probably I use too stable net resources  :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Urs Schuetz
On Wed, 09 Apr 2008, Ralf Stephan wrote:

> I'm fed up with waiting for ever the same name requests from my
> browser (and open servers don't cut it either): which DNS cache
> or caching DNS for simple local installation would you recommend?

I'm using the DNS of my router (D-Link DSL-500G). Works without client side 
installations.

Urs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 09, 2008 at 02:45:18PM +0400, Andrew Gaydenko wrote:
> > On Wed, Apr 09, 2008 at 12:13:40PM +0200, Ralf Stephan wrote:
> > > I'm fed up with waiting for ever the same name requests from my
> > > browser (and open servers don't cut it either): which DNS cache
> > > or caching DNS for simple local installation would you recommend?
> >
> > I use dnsmasq, can be used as a LAN cache too (by simply allowing
> > requests from a given interface). Took me about 30 minutes to
> > configure. I asked dhcp to save to resolv.conf.2 and made resolv.conf
> > to request from localhost.
> 
> What about permanent (with saving to hdd) caching? It seems like pdnsd 
> do this thing only...

Does not seem to matter here much, since I suspend, not turn off. But
anyway, most DNS names should be cached only few hours, half a day or so
(well, there are some that have week long timeouts, but not many).

-- 
chown -R us $BASE

Michal 'vorner' Vaner


pgpb1MefE5rBg.pgp
Description: PGP signature


Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Andrew Gaydenko
=== On Wednesday 09 April 2008, Michal 'vorner' Vaner wrote: ===
> Hello
>
> On Wed, Apr 09, 2008 at 12:13:40PM +0200, Ralf Stephan wrote:
> > I'm fed up with waiting for ever the same name requests from my
> > browser (and open servers don't cut it either): which DNS cache
> > or caching DNS for simple local installation would you recommend?
>
> I use dnsmasq, can be used as a LAN cache too (by simply allowing
> requests from a given interface). Took me about 30 minutes to
> configure. I asked dhcp to save to resolv.conf.2 and made resolv.conf
> to request from localhost.

What about permanent (with saving to hdd) caching? It seems like pdnsd 
do this thing only...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Neil Bothwick
On Wed, 9 Apr 2008 12:13:40 +0200, Ralf Stephan wrote:

> I'm fed up with waiting for ever the same name requests from my
> browser (and open servers don't cut it either): which DNS cache
> or caching DNS for simple local installation would you recommend?

net-dns/dnsmasq


-- 
Neil Bothwick

Deja Foobar: A feeling of having made the same mistake before.


signature.asc
Description: PGP signature


Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 09, 2008 at 12:13:40PM +0200, Ralf Stephan wrote:
> I'm fed up with waiting for ever the same name requests from my
> browser (and open servers don't cut it either): which DNS cache
> or caching DNS for simple local installation would you recommend?

I use dnsmasq, can be used as a LAN cache too (by simply allowing
requests from a given interface). Took me about 30 minutes to configure.
I asked dhcp to save to resolv.conf.2 and made resolv.conf to request
from localhost.

-- 
~, sweet ~

Michal 'vorner' Vaner


pgp8l1ioXzK9Y.pgp
Description: PGP signature


[gentoo-user] local caching DNS?

2008-04-09 Thread Ralf Stephan
Hello,

I'm fed up with waiting for ever the same name requests from my
browser (and open servers don't cut it either): which DNS cache
or caching DNS for simple local installation would you recommend?

Regards,
ralf
-- 
gentoo-user@lists.gentoo.org mailing list