Re: Use of "dnsserver" vs named direct

From: Greg Stark <gsstark@dont-contact.us>
Date: 23 May 1999 13:54:38 -0400

Henrik Nordstrom <hno@hem.passagen.se> writes:

> Reuben Farrelly wrote:
>
> > Do the dnsserver processes provide a different function to that which named
> > (Bind8.2 in this case) could just as easily do itself? Or is it to do with
> > the blocking of DNS lookups when multiple hosts are being looked up at once?
>
> Correct.
>
> Squids dnsserver processes is only to avoid blocking of DNS lookups. The
> actual DNS lookups are then performed by your named. The reason to why
> Squid has external processes for DNS lookups are that the standard
> interface to host/ip lookups are singlethreaded and can only handle one
> lookup at the time.

I sent a simpler and less memory hungry solution to this problem here earlier:

Perhaps instead of spawning dnsserver processes using an asynchronous
resolver would be simpler and more robust. Here's one such library:

ftp://athena-dist.mit.edu/pub/ATHENA/ares

>From the README:

> This directory contains ares, an asynchronous DNS resolver library.

greg
Received on Sun May 23 1999 - 11:35:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:24 MST