MMDBRESOLVE(1)

🌸 NAME 🌸

mmdbresolve(1) β€” okay bestie, mmdbresolve reads IPv4 and IPv6 addresses and prints their IP geolocation information. That's the whole vibe πŸ’–

✨ SYNOPSIS ✨

mmdbresolve [ -v ]

mmdbresolve [ -h ]

mmdbresolve -f <dbfile> [ -f <dbfile> ] ...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: mmdbresolve reads IPv4 and IPv6 addresses on stdin and prints their IP geolocation information on stdout. Each input line must contain exactly one address β€” literally one, no sneaky extra addresses on the line. 😭

Output is in INI format, with a section delimiter named after the query address followed by a set of "key: value" pairs. A comment beginning with "# End" is appended to each section. At startup an "[init]" section is printed that shows the status of each database and of mmdbresolve itself. It's giving organized, ngl ✨

πŸ’… OPTIONS πŸ’…

  • -v β€” print version information and exit. Short, sweet, slay.
  • -h β€” print help information and exit. Ask for help, bestie, it's free 🫢
  • -f β€” path to a MaxMind Database file. Multiple databases may be specified. You can stack these up, no cap πŸ‘‘

πŸ“ EXAMPLES πŸ“

To resolve a single address, bestie:

echo 4.4.4.4 | mmdbresolve -f /usr/share/GeoIP/GeoLite2-City.mmdb

Example output β€” look at this iconic behavior:

[init]
db.0.path: /usr/share/GeoIP/GeoLite2-City.mmdb
db.0.status: OK
mmdbresolve.status: true
# End init
[4.4.4.4]
# GeoLite2-City
country.iso_code: US
country.names.en: United States
location.latitude: 37.751000
location.longitude: -97.822000
# End 4.4.4.4

🌈 SEE ALSO 🌈

wireshark(1), tshark(1) β€” go say hi πŸ’œ

πŸ‘‘ NOTES πŸ‘‘

mmdbresolve is part of the Wireshark distribution. The latest version of Wireshark can be found at https://www.wireshark.org.

HTML versions of the Wireshark project man pages are available at https://www.wireshark.org/docs/man-pages.

πŸŽ€ AUTHORS πŸŽ€

Original Author: Gerald Combs <gerald[AT]wireshark.org> β€” iconic.


mwah πŸ’‹ β€” this cutie page is from the MMDBRESOLVE(1) manual, dated 2026-10-08. periodt.

πŸ“¦ where this page comes from