App::rdapper - a simple console-based RDAP client.
To install, run:
cpanm --sudo App::rdapper
RUNNING VIA DOCKER
The git repository contains a
that can be used to build an image on your local system.
Alternatively, you can pull the image from Docker Hub:
$ docker pull gbxyz/rdapper $ docker run -it gbxyz/rdapper --help
rdapper OBJECT [OPTIONS]
rdapper is a simple RDAP client. It uses Net::RDAP to retrieve
data about internet resources (domain names, IP addresses, and
autonymous systems) and outputs the information in a human-readable
format. If you want to consume this data in your own program you
should use Net::RDAP directly.
rdapper was originally conceived as a full RDAP client (back
when the RDAP specification was still in draft form) but is now
just a very thin front-end to Net::RDAP.
You can pass any internet resource as an argument; this may be:
- a "forward" domain name such as
- a "reverse" domain name such as
- a IPv4 or IPv6 address or CIDR prefix, such as
- an Autonymous System Number such as
- the URL of an RDAP resource such as
- the "tagged" handle of an entity, such as an LIR, registrar,
or domain admin/tech contact. Because these handles are difficult
to distinguish from domain names, you must use the
--typeargument to explicitly tell
rdapperthat you want to perform an entity query, .e.g
rdapper --type=entity ABC123-EXAMPLE.
rdapper also implements limited support for in-bailiwick nameservers,
but you must use the
--type=nameserver argument to disambiguate
from domain names. The RDAP server of the parent domain's registry will
--registrar- follow referral to the registrar's RDAP record (if any) which will be displayed instead of the registry record.
--reverse- if you provide an IP address or CIDR prefix, then this option causes
rdapperto display the record of the corresponding
--type=TYPE- explicitly set the object type.
rdapperwill guess the type by pattern matching the value of
OBJECTbut you can override this by explicitly setting the
--typeargument to one of :
rdapperwill directly fetch the specified URL and attempt to process it as an RDAP response.
OBJECTmust be a a string containing a "tagged" handle, such as
ABC123-EXAMPLE, as per RFC 8521.
--help- display help message.
--raw- print the raw JSON rather than parsing it.
--short- omit remarks, notices, and links.
--bypass-cache- disable local cache of RDAP objects.
--auth=USER:PASS- HTTP Basic Authentication credentials to be used when accessing the specified resource.
--nocolor- disable ANSI colors in the formatted output.
COPYRIGHT & LICENSE
Copyright (c) 2023 CentralNic Ltd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.