Audit multiple IPs efficiently from server logs
When you’re staring at server logs full of IP addresses — suspicious hits, repeat offenders, unfamiliar traffic — checking them one at a time is slow. Here’s an efficient workflow for auditing many IPs at once.
Step 1: Pull the IPs out of your logs
First extract and de-duplicate the addresses from your access logs. A quick terminal one-liner does it — see our guide on extracting unique IPs from Nginx, Apache & IIS logs for the exact commands. You want a clean list of distinct IPs, ideally sorted by hit count so the noisiest sources rise to the top.
Step 2: Audit them in bulk
Paste up to 10 IPs at a time into our Bulk IP Audit tool. For each address it returns reverse DNS (the hostname behind it), blocklist status across major DNSBLs, and geolocation with the network owner (ASN organisation) — the three things you most need to triage an unknown IP. Export the results as CSV or JSON to keep with your investigation notes.
Step 3: Read the signals together
The three columns tell a story in combination. A datacenter ASN with no reverse DNS and a blocklist hit is almost certainly automated abuse. A residential ISP with clean reputation is more likely a real user. A hostname revealing a known crawler (Googlebot, Bingbot) identifies legitimate bots. Judging an IP on all three signals at once is far more reliable than any one alone.
Step 4: Act on the verdict
Group the malicious IPs and decide your response: block individual addresses at your firewall, or — more efficiently — block the whole offending network. If many bad IPs share an ASN, blocking that ASN or its CIDR ranges stops the source in one move (see blocking abusive ASN networks). For trusted sources, add them to an allow-list instead.
Scaling beyond 10 at a time
The web tool caps at 10 per run for fair use. For larger investigations, our developer endpoints let you script lookups, or build a small audit script (see building a Python bulk-audit script) to process hundreds of addresses programmatically.
Related: Bulk IP Audit tool · Extract unique IPs from logs