LogResolve-alx
is a reverse resolver from IP
to DNS
for CLF log files of Web servers.
It is an alternative to the logresolve.exe
utility included in Apache.
This program is multi-threaded and can deal with zero-length DNS. So it is faster than the one provided with Apache, and do not crash with invalid DNS.
The addresses of the CLF input file containing IP addresses and of the output file have to be passed as arguments to the program.
Console logresolvalx.exe log.txt logdns.txt
One line of the input file log.txt 130.226.48.192 - - [01/Feb/2004:18:49:43 +0200] "GET / HTTP/1.1" 200 6742 - "Mozilla/4.0" - alexandre.alapetite.net
One line of the output file logdns.txt pc-03147.risoe.dk - - [01/Feb/2004:18:49:43 +0200] "GET / HTTP/1.1" 200 6742 - "Mozilla/4.0" - alexandre.alapetite.net
You can find more information in my Apache2 documentation
You can dowload it freely and reuse it as long as you keep the credits both in the source code and for the final user. If you whish to distribute it, please do it refering to this page.
This content is protected by a licence
Creative Commons Attribution-ShareAlike 2.0 France "BY-SA (FR)"