RIPE Database Query Reference Manual
This document describes how queries work in version 1.79 of the RIPE Database. This version uses the Routing Policy Specification Language (RPSL)  to represent many of the database objects. It uses the Routing Policy System Security (RPSS)  for authorisation. This means better security for Internet Routing Registries (IRR). It makes use of RPSL next generation specifications .
Though this document is self-contained, you may also wish to read the RPSL  and RPSS  specifications. For a tutorial on RPSL, you can read the RPSL applications document . You may also want to read the “RIPE Database Update Reference Manual” . It explains how updates work in the RIPE Database. There is also a single page “Whois Queries Reference Card” .
This reference manual is for casual and advanced users who query the RIPE Database. If you are new to this database, you might find the “RIPE Database User Manual – Getting Started”  to be a more helpful place to start.
We use <label> for a placeholder or to indicate syntax.
We use [option] to indicate an optional text or command argument.
We use a bold font to indicate an object type.
We use “attribute:” to indicate an attribute of an object.
“RIPE Database” usually means the user interface rather than the information in the database. Where there may be any doubt, this manual will make clear what is being discussed.
- RIPE Database Query Reference Manual
- Intended Audience
- Conventions Used in This Document
- Table of Contents
- 1.0 Database Objects and Attributes
- 2.0 Querying the RIPE Database
- 2.1 Queries Using Primary and Lookup Keys
- 2.2 Queries for IP Networks
- 2.2.1 Default Queries for IP Networks
- 2.2.2 Exact Match Queries
- 2.2.3 More and Less Specific Queries
- 2.2.4 Less Specific Queries Referencing irt Objects
- 2.3 Queries for Autonomous Systems
- 2.4 Inverse Queries
- 2.5 Abuse Contacts
- 2.6 Grouping the RIPE Database Output
- 2.7 Filtering the RIPE Database Output
- 2.8 Query Support for Tools
- 2.9 Getting All the Members of Set Objects
- 2.10 More and Less Specific Lookups For Reverse Domains
- 2.11 Access Control for Queries
- 2.12 Other Server Features
- Tables of Query Types Supported by the RIPE Database
- Table 2.1 Queries Using Primary and Lookup Keys
- Table 2.2 Queries For IP Networks
- Table 2.3 Query Flag Arguments to the "-i" Query Flag and the Corresponding Inverse Keys
- Table 2.4 Query Support For Tools
- Table 2.5 Miscellaneous Queries
- Table 2.6 Informational Queries