13.10.5 The “-q” Query Flag

The RIPE Database server supports the retrieval of certain information about itself and the data sets served, using a “-q” query flag.

The “-q” query flag requests the server to reply with information about the system setup. It does not return any information extracted from any of the databases that it serves. This query flag takes a single argument, which has three possible values:

  • Version (usage: -q version). This will display version information for the server software
  • Types (usage: -q types). This will list all the object types recognised by the RIPE Database
  • Sources (usage: -q sources). This will list all available sources. That is, the local RIPE Database and all the mirrored databases