RIPE Database Reference Manual Joao Luis Silva Damas Andrei Robachevsky Document ID: ripe-251 Date: 4 July 2002 Obsoletes: ripe-238 ------------------------------------------------------------------------------- Abstract This document describes the functionality of version 3.0 of the RIPE Database that uses the Routing Policy Specification Language (RPSL) [1] to represent all Database objects. It also implements the Routing Policy System Security (RPSS) [2] to provide authorisation mechanisms to enable a higher level of security for Internet Routing Registries (IRR). Though this document tends to be self-contained, the reader is encouraged to read the RPSL [1] and RPSS [2] specifications for more detailed information, examples of usage and definitions. For a tutorial on RPSL, the reader should read the RPSL applications document [3]. ------------------------------------------------------------------------------- Table of Contents Abstract Introduction 1.0 Database objects and attributes 1.1 Object representation 1.2 Object types 1.2.1 as-block 1.2.2 as-set 1.2.3 aut-num 1.2.4 domain 1.2.5 filter-set 1.2.6 inet6num 1.2.7 inetnum 1.2.8 inet-rtr 1.2.9 irt 1.2.10 key-cert 1.2.11 limerick 1.2.12 mntner 1.2.13 peering-set 1.2.14 person 1.2.15 role 1.2.16 route 1.2.17 route-set 1.2.18 rtr-set 2.0 Queries in the RIPE Database 2.1 Queries using primary and lookup keys 2.2 IP address lookups 2.2.1 Default lookup for IP ranges in the RIPE Database 2.2.2 More and less specific queries 2.3 Inverse queries 2.4 Query support for tools 2.4.1 RAToolset support 2.4.2 Persistent connections and keeping state 2.5 Getting all the members of set objects 2.6 More/less specific lookups for in-addr.arpa and ip6.int domains 2.7 Referral mechanism for domains 2.8 Access control for queries 2.9 Other server features 3.0 Updates in the RIPE Database 3.1 Format of an update message 3.2 Creating, modifying and deleting an object 3.2.1 Object processing 3.2.2 Creating a new object 3.2.3 Modifying an existing object 3.2.4 Deleting an object 3.3 E-mail updates 3.3.1 MIME support 3.3.2 PGP support 3.3.3 Subject line processing 3.4 Updates using networkupdate utility 3.5 Acknowledgements and Notifications 3.5.1 Acknowledgements 3.5.2 Notifications 3.6 Data protection 3.6.1 Authorisation model 3.6.2 Protection of individual objects 3.6.3 Protection of aut-num object space 3.6.4 Protection of address space 3.6.5 Protection of route object space 3.6.6 Protection of objects with hierarchical names 3.6.7 Protection of domain object space 3.6.8 Protecting membership of a set 4.0 Mirroring of the RIPE Database Appendices A1. Object attributes A2. RIPE Database response codes and messages A2.1 Query errors A2.2 Access errors A2.3 Connection errors A2.4 NRTM errors A2.5 Referral text A3. Copyright information 3.2 A3.1 RIPE Database Copyright 3.2 A3.2 RFC Copyright Statement 3.2 A3.3 RIPE NCC Copyright Acknowledgements References Conventions used in this document Within this document, the following conventions are used: