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
- arch rolling: wireshark-cli 4.7.4-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms