• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bootstrap/H27-Jul-2019-2,2341,476

cmd/rdap/H27-Jul-2019-149

sandbox/H03-May-2022-5841

test/H27-Jul-2019-3,2813,193

vendor/H03-May-2022-113,03887,871

.gitignoreH A D27-Jul-20197 21

.travis.ymlH A D27-Jul-201964 96

LICENSEH A D27-Jul-20191 KiB2016

README.mdH A D27-Jul-20193.6 KiB8766

autnum.goH A D27-Jul-2019658 3221

cli.goH A D27-Jul-201916 KiB573419

client.goH A D27-Jul-20199.3 KiB390236

client_error.goH A D27-Jul-2019848 5440

client_test.goH A D27-Jul-20192 KiB10473

common.goH A D27-Jul-20192.3 KiB10240

decode_data.goH A D27-Jul-20192.8 KiB10751

decoder.goH A D27-Jul-201921.1 KiB772477

decoder_test.goH A D27-Jul-20195.4 KiB373312

doc.goH A D27-Jul-20191.5 KiB401

domain.goH A D27-Jul-20191.6 KiB9663

entity.goH A D27-Jul-2019697 3221

error.goH A D27-Jul-2019366 2210

example_test.goH A D27-Jul-20193.1 KiB12773

go.modH A D27-Jul-2019463 1512

go.sumH A D27-Jul-20192.4 KiB2625

help.goH A D27-Jul-2019300 177

ipnetwork.goH A D27-Jul-2019681 3322

nameserver.goH A D27-Jul-2019737 4024

print.goH A D27-Jul-201917.7 KiB856643

print_test.goH A D27-Jul-2019568 3722

request.goH A D27-Jul-201913 KiB491279

request_test.goH A D27-Jul-20195.2 KiB241193

response.goH A D27-Jul-20193.1 KiB156111

search_results.goH A D27-Jul-20191 KiB4522

vcard.goH A D27-Jul-201910.3 KiB448261

vcard_test.goH A D27-Jul-20193.6 KiB166137

README.md

1<img src="https://www.openrdap.org/public/img/logo.png">
2
3OpenRDAP is an command line [RDAP](https://datatracker.ietf.org/wg/weirds/documents/) client implementation in Go.
4[![Build Status](https://travis-ci.org/openrdap/rdap.svg?branch=master)](https://travis-ci.org/openrdap/rdap)
5
6https://www.openrdap.org - homepage
7
8https://www.openrdap.org/demo - live demo
9
10## Features
11* Command line RDAP client
12* Query types supported:
13    * ip
14    * domain
15    * autnum
16    * nameserver
17    * entity
18    * help
19    * url
20    * domain-search
21    * domain-search-by-nameserver
22    * domain-search-by-nameserver-ip
23    * nameserver-search
24    * nameserver-search-by-ip
25    * entity-search
26    * entity-search-by-handle
27* Query bootstrapping (automatic RDAP server URL detection for ip/domain/autnum/(experimental) entity queries)
28* Bootstrap cache (optional, uses ~/.openrdap by default)
29* X.509 client authentication
30* Output formats: text, JSON, WHOIS style
31* Experimental [object tagging](https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-object-tag/) support
32
33## Installation
34
35This program uses Go. The Go compiler is available from https://golang.org/.
36
37To install:
38
39    go get -u github.com/openrdap/rdap/cmd/rdap
40
41This will install the "rdap" binary in your $GOPATH/go/bin directory. Try running:
42
43    ~/go/bin/rdap google.com
44
45## Usage
46
47| Query type  | Usage   |
48|---|---|
49| Domain (.com)   | rdap -v example.com |
50| Domain (.みんな) | rdap -v -e nic.みんな  |
51| Network | rdap -v 2001:db8:: |
52| Autnum | rdap -v AS15169 |
53| Entity (test bootstrap) | rdap -v -e 1-VRSN |
54| Nameserver | rdap -v -t nameserver -s https://rdap-pilot.verisignlabs.com/rdap/v1 ns1.google.com |
55| Help | rdap -v -t help -s https://rdap-pilot.verisignlabs.com/rdap/v1 |
56| Domain Search	| rdap -v -t domain-search -s https://rdap-pilot.verisignlabs.com/rdap/v1 exampl*.com |
57| Domain Search (by NS)	| rdap -v -t domain-search-by-nameserver -s https://rdap-pilot.verisignlabs.com/rdap/v1 ns1.google.com |
58| Domain Search (by NS IP) | rdap -v -t domain-search-by-nameserver-ip -s https://rdap-pilot.verisignlabs.com/rdap/v1 194.72.238.11 |
59| Nameserver Search	| rdap -v -t nameserver-search -s https://rdap-pilot.verisignlabs.com/rdap/v1 ns*.yahoo.com |
60| Nameserver Search (by IP)	| rdap -v -t nameserver-search-by-ip -s https://rdap-pilot.verisignlabs.com/rdap/v1 194.72.238.11 |
61| Entity Search	| rdap -v -t entity-search -s https://rdap-pilot.verisignlabs.com/rdap/v1 Register*-VRSN |
62| Entity Search (by handle)	| rdap -v -t entity-search-by-handle -s https://rdap-pilot.verisignlabs.com/rdap/v1 1*-VRSN |
63
64See https://www.openrdap.org/docs.
65
66## Go docs
67[![godoc](https://godoc.org/github.com/openrdap/rdap?status.png)](https://godoc.org/github.com/openrdap/rdap)
68
69## Requires
70Go 1.7+
71
72## Links
73- Wikipedia - [Registration Data Access Protocol](https://en.wikipedia.org/wiki/Registration_Data_Access_Protocol)
74- [ICANN RDAP pilot](https://www.icann.org/rdap)
75
76- [OpenRDAP](https://www.openrdap.org)
77
78- https://data.iana.org/rdap/ - Official IANA bootstrap information
79- https://test.rdap.net/rdap/ - Test alternate bootstrap service with more experimental RDAP servers
80
81- [RFC 7480 HTTP Usage in the Registration Data Access Protocol (RDAP)](https://tools.ietf.org/html/rfc7480)
82- [RFC 7481 Security Services for the Registration Data Access Protocol (RDAP)](https://tools.ietf.org/html/rfc7481)
83- [RFC 7482 Registration Data Access Protocol (RDAP) Query Format](https://tools.ietf.org/html/rfc7482)
84- [RFC 7483 JSON Responses for the Registration Data Access Protocol (RDAP)](https://tools.ietf.org/html/rfc7483)
85- [RFC 7484 Finding the Authoritative Registration Data (RDAP) Service](https://tools.ietf.org/html/rfc7484)
86
87