On Mon, Jan 20, 2003 at 05:10:24PM +1100, [EMAIL PROTECTED] wrote:
> Is it possible to use squid without using DNS
> at all?
Why do you want to do this?
> I am using single parent cache, and I don't
> need names in my log files.
That's easy:
log_fqdn off
> So I don't think I _need_ DNS, but I can't see
> if there is way to tell squid not to do any
> dns lookups at all.
The only thing I can think of that *might* work is to tell squid to
send all requests to its parent cache:
cache_peer your.parent.cache parent 3128 3130 no-query
acl all src 0.0.0.0/0.0.0.0
never_direct allow all
I don't know if that's enough to stop it from doing lookups before
forwarding the requests though. Give it a try and see what happens -
I'd test it myself if I had a machine to play with, but I can't play
with the squid config here at work without people getting upset :-p
You'll also want to start squid with `-D' to disable its initial dns
tests.
Cheers,
John
--
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug