EnglishFrenchSpanish

OnWorks favicon

mmdblookup - Online in the Cloud

Run mmdblookup in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mmdblookup that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mmdblookup - a utility to look up an IP address in a MaxMind DB file

SYNOPSIS


mmdblookup --file [FILE PATH] --ip [IP ADDRESS] [DATA PATH]

DESCRIPTION


mmdblookup looks up an IP address in the specified MaxMind DB file. The record for the IP
address is displayed in a JSON-like structure with type annotations.

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


This application accepts the following options:

-f, --file
The path to the MMDB file. Required.

-i, --ip
The IP address to look up. Required.

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

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

-h, -?, --help
Show usage information.

BUG REPORTS AND PULL REQUESTS


Please report all issues to our GitHub issue tracker
(https://github.com/maxmind/libmaxminddb/issues). We welcome bug reports and pull
requests. Please note that pull requests are greatly preferred over patches.

AUTHORS


This utility was written by Boris Zentner ([email protected]) and Dave Rolsky
([email protected]).

COPYRIGHT AND LICENSE


Copyright 2013-2014 MaxMind, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License.

Use mmdblookup online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Programming Without Coding Technology
Programming Without Coding Technology
PWCT is not a Wizard for creating your
application in 1 2 3 steps. PWCT is a
general-purpose visual programming
language designed for novice and expert
program...
Download Programming Without Coding Technology
  • 3
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 4
    Windows Directory Statistics
    Windows Directory Statistics
    WinDirStat (Windows Directory
    Statistics) is a disk usage statistics
    viewer and cleanup tool for Windows. On
    start up, WinDirStat reads the whole
    directory tree...
    Download Windows Directory Statistics
  • 5
    DS4Windows
    DS4Windows
    DS4Window is an open-source program
    that will allow someone to get the
    experience of using a Playstation 4
    DualShock Controller on a PC by
    emulating a Xbox 360...
    Download DS4Windows
  • 6
    TDM-GCC MinGW Compiler
    TDM-GCC MinGW Compiler
    The most recent stable releases from the
    GCC compiler project, for 32-bit and
    64-bit Windows, cleverly disguised with
    a real installer & updater.
    Features:G...
    Download TDM-GCC MinGW Compiler
  • da...
    Download GeoServer
  • More »
  • Linux commands

    Ad