1 include::../attributes.adoc[]
6 :copycss: {css_dir}/{stylesheet}
10 mmdbresolve - Read IPv4 and IPv6 addresses and print their IP geolocation information.
22 *mmdbresolve* reads IPv4 and IPv6 addresses on stdin and prints their IP geolocation information
23 on stdout. Each input line must contain exactly one address. Output is in INI format, with a section
24 delimiter named after the query address followed by a set of "key: value" pairs. A comment
25 beginning with "# End" is appended to each section.
27 At startup an "[init]" section is printed that shows the status of each database and of mmdbresolve
33 Path to a MaxMind Database file. Multiple databases may be specified.
37 To resolve a single address:
39 echo 4.4.4.4 | mmdbresolve -f /usr/share/GeoIP/GeoLite2-City.mmdb
43 db.0.path: /usr/share/GeoIP/GeoLite2-City.mmdb
45 mmdbresolve.status: true
50 country.names.en: United States
51 location.latitude: 37.751000
52 location.longitude: -97.822000
57 xref:wireshark.html[wireshark](1), xref:tshark.html[tshark](1)
61 *mmdbresolve* is part of the *Wireshark* distribution. The latest version
62 of *Wireshark* can be found at https://www.wireshark.org.
64 HTML versions of the Wireshark project man pages are available at
65 https://www.wireshark.org/docs/man-pages.
71 Gerald Combs <gerald[AT]wireshark.org>