Pages

RIPE Database notes

RIPE Database - contains registration information for networks in the the RIPE NCC service region and related contact details.

Records in the RIPE Database are called "objects".
Each object is a list of "attribute-value" pairs displayed in plain text.

http://subnets.ru/blog/?p=24

RIPE DB Objects
Objects can store information about different resources.
Object types         Network Resource
inetnum, inet6num    IP Address Ranges
aut-num              AS number
route, route6        address range announced by an AS number
domain               Reverse DNS Delegations
person               Contact Information
role, organisation   group of persons
mntner               protects other objects
Objects are procted by mntner (maintainer aka password)

RIPE Database Query
https://apps.db.ripe.net/search/query.html

[mandatory]     At least one instance of this attribute must be defined in an object of the class.
[optional]     Attribute is optional in the objects of the class and can be omitted.
[generated]    Attribute is automatically generated by the server.
[single]       An object MUST NOT contain more than one instance of this attribute.
[multiple]     An object MAY contain more than one instance of this attribute.
[look-up key]  Attribute is indexed.
[inverse key]  Attribute is in the "reverse" index.
[primary key]  Attribute is (part of) the primary key.
[primary/look-up key] Attribute is both indexed and is (part of) the primary key.

https://stat.ripe.net/widget/object-browser

AS objects
For example lets analyze AS3333 - RIPE-NCC

1) AS info
Search AS by aut-num direct key
aut-num AS3333
as-name    RIPE-NCC-AS
descr    Reseaux IP Europeens Network Coordination Centre (RIPE NCC)
org    ORG-RIEN1-RIPE
mnt-by    RIPE-NCC-END-MNT
mnt-by    RIPE-NCC-MNT

2) Contact information
organisation: ORG-RIEN1-RIPE  [org]
person: Jochem de Ruig   [admin-c]
role: RIPE NCC Operations   [tech-c]
mntner: RIPE-NCC-END-MNT   [mnt-by]
mntner: RIPE-NCC-MNT  [mnt-by]


3) Routes from this AS
Query AS3333 with Inverse lookup flag ORIGIN
route: 193.0.0.0/21    [origin]
descr    RIPE-NCC
origin    AS3333
mnt-by    RIPE-NCC-MNT

route: 193.0.20.0/23   [origin]
descr    RIPE-NCC
origin    AS3333
mnt-by    RIPE-NCC-MNT

....

route6: 2001:67c:2e8::/48 [origin]
descr    RIPE-NCC
origin    AS3333
mnt-by    RIPE-NCC-MNT



RIPE DB Searches
1) Find out IP of site
>nslookup
Default Server:  google-public-dns-a.google.com
Address:  8.8.8.8

> ripe.net
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    ripe.net
Addresses:  2001:67c:2e8:22::c100:68b
          193.0.6.139


2) RIPE Lookup key