OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-IP-Country-2.28.20190301p0

fast lookup of country codes by IP address

Back to search · Project homepage

Description

Finding the home country of a client using only the IP address can be difficult. Looking up the domain name associated with that address can provide some help, but many IP address are not reverse mapped to any useful domain, and the most common domain (.com) offers no help when looking for country. This module comes bundled with a database of countries where various IP addresses have been assigned. Although the country of assignment will probably be the country associated with a large ISP rather than the client herself, this is probably good enough for most log analysis applications, and under test has proved to be as accurate as reverse-DNS and WHOIS lookup.

Package information

Ports path
net/p5-IP-Country
Package architecture
*
Maintainer
Giovanni Bechis <giovanni@openbsd.org>
Categories
net, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Installing and updating packages · Package details as JSON