Re: [SQU] Confuse about dnsserver

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 22 Oct 2000 12:30:11 +0200

Catalin Tatu wrote:

> How squid work ? With his dnsserver or read from /etc/host ?

The default for Squid-2.3 is to use a internal DNS resolver. This does
only make use if DNS and does not read /etc/hosts.

> If I compile with --enable-internal-dns and write in squid.conf :
> cache_dns_program /path/to/dnsserver
> dns_children 10
> when squid start it said that unknown "directive" in line
> cache_dns_program and line dns_children. Why ?

The directive is --disable-internal-dns. This will enable the old
dnsserver helper approach which uses gethostbyname() to resolve names.
This will use what ever mechanisms your host server is configured to
use. (usually /etc/hosts, DNS)

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sun Oct 22 2000 - 04:35:27 MDT

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