OS Manuals

/opt/iamguarded/common/bin/mmdblookup

Compatibility package with iamguarded nginx-ingress-controller image

From ingress-nginx-controller-fips-iamguarded-compat-1.13 1.13.9-r23 (enterprise-packages), captured 2026-11-08 by running mmdblookup --help (exit 0). permalink

  mmdblookup --file /path/to/file.mmdb --ip 1.2.3.4 [path to lookup]

  This application accepts the following options:

      --file (-f)     The path to the MMDB file. Required.

      --ip (-i)       The IP address to look up. Required.

      --verbose (-v)  Turns on verbose output. Specifically, this causes this
                      application to output the database metadata.

      --version       Print the program's version number and exit.

      --help (-h -?)  Show usage information.

  If an IP's data entry resolves to a map or array, you can provide
  a lookup path to only show part of that data.

  For example, given a JSON structure like this:

    {
        "names": {
             "en": "Germany",
             "de": "Deutschland"
        },
        "cities": [ "Berlin", "Frankfurt" ]
    }

  You could look up just the English name by calling mmdblookup with a lookup path of:

    mmdblookup --file ... --ip ... names en

  Or you could look up the second city in the list with:

    mmdblookup --file ... --ip ... cities 1

  Array numbering begins with zero (0).

  If you do not provide a path to lookup, all of the information for a given IP
  will be shown.
Options (5)
OptionDescriptionSource
--file (-f)The path to the MMDB file.help
--ip (-i)The IP address to look up.help
--verbose (-v)Turns on verbose output.help
--versionPrint the program's version number and exit.help
--help (-hShow usage information.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.