Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

instant-labs/instant-rdap

Repository files navigation

Instant RDAP server

This is an RDAP server written in Rust, using Mendes and Redis as a backend.

To get going, use the usual Rust incantation:

cargo run --release

Status

Currently the featureset is pretty minimal, and experimental. The RDAP resources are simply picked from Redis, and deserialized as JSON.

What is working:

  • queries on /rdap/domain/<domain>, /rdap/nameserver/<nameserver> and /rdap/entity/<entity>
  • filtering based on JSON fields and wildcard queries, based on glob syntax eg.: /rdap/domains?ldhName=foo*.com
  • queries on /ip/<address>/<subnet> and /autnum/<asn> endpoints

Data expectations

Data is stored in Redis as JSON under the following paths:

  • /domain/<name>: Domain records
  • /nameserver/<name>: Nameserver records
  • /entity/<id>: Entities (vcard)
  • /ip/<any identifier>: IP network information
  • /autnum/<asn>: Autonomous system information

Except for types defined in [src/db.rs], JSON objects are deserialized as types from the rdap_types crate.

License

Licensed under the Apache2 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published