Re[5]: [squid-users] reverse DNS by squid when using parent proxy

From: Colin Campbell <[email protected]>
Date: Mon, 18 Feb 2002 15:19:35 +1000 (EST)

Hi,

On Sun, 17 Feb 2002, Cliff wrote:

> However, when I stop squid here's an error message that I see:
>
> Executing /etc/rc.d/init.d/squid stop ..
> Stopping squid: 2002/02/17 19:51:42| squid.conf line 1182: never_direct allow all
> 2002/02/17 19:51:42| aclParseAccessLine: ACL name 'all' not found.
> 2002/02/17 19:51:42| squid.conf line 1182: never_direct allow all
> 2002/02/17 19:51:42| aclParseAccessLine: Access line contains no ACL's, skipping

That's because you need:

acl all src 0.0.0.0/0.0.0.0

> On a related subject - is it true that everything will fail
> if my local DNS is down or the workstation in either fakedomain
> does *not* have a fully forward/reversible address?

I do not believe so. Squid, as far as I recall, only logs the IP anyway.
It doesn't try a reverse lookup.

> So I need to populate my zone files with at least an entry
> for each machine in both fakedomains? And preferribly go ahead
> and populate all addresses so that if I enable DHCP it will still all
> work?

You never need to popul;ate the zone files. All you need is to be
authority for a zone file. If the file is empty, the nameserver returns a
NXDOMAIN error immediately. If you don't have the zone at all, the
nameserver will go looking for someone who does and will take much longer.

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3006 4710
Received on Sun Feb 17 2002 - 22:20:09 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:25 MST