Re: Resolve IP adresses in access.log

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 16 Dec 1998 22:45:00 +0100

Philippe PAULEAU wrote:
>
> In order to enable ident_lookup in squid 2.1, i need to specify
> one DNS serveur for my local network.

Not for ident_lookup. You are probably thinking on log_fqdn and not
ident_lookup...

> The problem is that the resolve.conf file contains the DNS servers
> ( one or more ) for the internet network.
> How can i do to use both internal and external DNS at the same time.
> Do i have to use named ?

The easies setup is to have a DNS server which knows both worlds. Either
set up a internal DNS server so that it can resolve external names, or
set up a new DNS server which is configured as a hidden secondary server
(configured as a secondary for every internal zone, but not mentioned in
the DNS maps).

Other ways are to have a hacked resolver library that has some
flexibility in selecting which nameserver to use to resolve which name..

---
Henrik Nordstrom
Spare time Squid hacker
Received on Wed Dec 16 1998 - 15:19:45 MST

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