ip2host
Resolve IPs to hostnames in web server logs
Install
- All systems
-
curl cmd.cat/ip2host.sh
- Debian
-
apt-get install ip2host
- Ubuntu
-
apt-get install ip2host
- Kali Linux
-
apt-get install ip2host
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install ip2host
- Raspbian
-
apt-get install ip2host
- Dockerfile
- dockerfile.run/ip2host
ip2host
Resolve IPs to hostnames in web server logs
This script is a drop-in replacement for the logresolve.pl script distributed with the Apache web server. ip2host has the same basic design of forking children to handle the DNS resolution in parallel, but multiplexes the communication to minimize the impact of slow responses. This results in a significant speed improvement (approximately 10x faster), and the performance degrades more gracefully as the DNS timeout value is increased.