Re: I want to know URL ip address,help me.

From: Marc van Selm <marc.van.selm@dont-contact.us>
Date: Mon, 07 Dec 1998 08:42:53 +0100

At 02:25 AM 12/5/98 +0100, Henrik Nordstrom wrote:
>Wang Aimin wrote:
>
>> 912729397.653 4860 202.199.128.244 TCP_MISS/200 1045 GET
>> ftp://ftp2.eastar.net/pub/solaris_patch/- DIRECT/ftp2.eastar.net
>> text/html
>>
>> the question is: I want to know the URL: www.znufe.edu.cn,
>> ftp2.eastar.net -------ip address,
>> want to add the URL ip address into access.log, or instead of URL with
>> it's ip address,
>> how to do it, help me.
>
>Sorry. I don't understand what you are asking here.

I think you want to do a hostname-lookup for the hostname in the accessed URL.
Right? This is not a feature of squid (I'm also not fully sury why anyone
would
want this).

You can create a logfile parser script which finds the hostname in the URL's
and does a hostlookup for all of them.

>
>---
>Henrik Nordstrom
>Spare time Squid hacker
>
---------------------------------------------------------------------
Marc van Selm
NATO C3 Agency
Communication Systems Division, A-Branch
Tel: +31 70 3142454
E-mail: marc.van.selm@nc3a.nato.int
---------------------------------------------------------------------
Private: selm@cistron.nl, selm@het.net, http://www.cistron.nl/~selm
Received on Mon Dec 07 1998 - 00:51:40 MST

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