AsterionDocumentation v0.4.1

IP registry and routing

Tables of the area IP registry and routing and their relations
IP registry and routing: tables and foreign keys. Dashed lines lead to tables of other areas.

ip_enrichments

Per public IP: announced prefix, origin AS, approximate location (RIPEstat) and links to its RIR records.

14 columns
ColumnTypeNullDefaultReferences
id PKbigint(20) unsigned
ip uniquevarchar(45)
prefixvarchar(255)yes
origin_asnbigint(20) unsignedyes
latitudedecimal(9,6)yes
longitudedecimal(9,6)yes
geo_cityvarchar(120)yes
geo_countryvarchar(8)yes
network_record_idbigint(20) unsignedyesrir_records on delete set null
asn_record_idbigint(20) unsignedyesrir_records on delete set null
fetched_attimestampyes
errorvarchar(255)yes
created_attimestampyes
updated_attimestampyes

Indexes: asn_record_id · ip (unique) · network_record_id · origin_asn · prefix

rir_records

Registration data from RDAP of the responsible RIR for a network or an AS: handle, name, organisation, country, abuse contact.

14 columns
ColumnTypeNullDefaultReferences
id PKbigint(20) unsigned
kindvarchar(8)
resourcevarchar(255)
rirvarchar(16)yes
handlevarchar(255)yes
namevarchar(255)yes
orgvarchar(255)yes
countryvarchar(8)yes
abuse_emailvarchar(255)yes
datalongtextyes
data_hashvarchar(64)yes
fetched_attimestampyes
created_attimestampyes
updated_attimestampyes

Indexes: kind, resource (unique)

rir_changes

Changes of registration or routing data of an IP (notification rir.changed).

7 columns
ColumnTypeNullDefaultReferences
id PKbigint(20) unsigned
rir_record_idbigint(20) unsignedyesrir_records on delete cascade
subjectvarchar(255)
fieldvarchar(64)
old_valuetextyes
new_valuetextyes
detected_attimestamp

Indexes: detected_at · rir_record_id