On Thursday 20 February 2003 15.40, Thiago Lima wrote:
> Put a private dns server, but then after a little while squid
> stops responding requests. Looking into the FAQ i found that I
> should use the dnsserver program. So I recompiled squid using
> todays version (CVS snapshop) with the --without-internal-dns
> parameter.
Where in the FAQ did you find that the dnsserver program should be
used if you have a private DNS server? This is not correct.
> When I start squid I receive a warning from dnshelper saying
> that -s option is not supported. -s seens its the option that squid
> uses to pass to dnsserver program the dns_nameservers option. And
> -s is not suported in current version of dnsserver. I got "-s is
> not supported on this resolver".
The last words in that sentence is the key... "... on this resolver",
where "resolver" is the gethostbyname() implementation in your OS
libraries, not Squid.
> I can't change the resolv.conf in that machine to point to this
> private DNS because other applications would start using it. And I
> can't use hosts file because I have too many entries (more than a
> 1000) and I'm afraid that lookups will be slow.
You do not need to worry about the size of the hosts file for speed.
Squid reads and parses the specified file at startup (does not need
to be /etc/hosts).
Regards
Henrik
Received on Thu Feb 20 2003 - 13:00:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:31 MST