Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
bootstrap/ | H | 27-Jul-2019 | - | 2,234 | 1,476 | |
cmd/rdap/ | H | 27-Jul-2019 | - | 14 | 9 | |
sandbox/ | H | 03-May-2022 | - | 58 | 41 | |
test/ | H | 27-Jul-2019 | - | 3,281 | 3,193 | |
vendor/ | H | 03-May-2022 | - | 113,038 | 87,871 | |
.gitignore | H A D | 27-Jul-2019 | 7 | 2 | 1 | |
.travis.yml | H A D | 27-Jul-2019 | 64 | 9 | 6 | |
LICENSE | H A D | 27-Jul-2019 | 1 KiB | 20 | 16 | |
README.md | H A D | 27-Jul-2019 | 3.6 KiB | 87 | 66 | |
autnum.go | H A D | 27-Jul-2019 | 658 | 32 | 21 | |
cli.go | H A D | 27-Jul-2019 | 16 KiB | 573 | 419 | |
client.go | H A D | 27-Jul-2019 | 9.3 KiB | 390 | 236 | |
client_error.go | H A D | 27-Jul-2019 | 848 | 54 | 40 | |
client_test.go | H A D | 27-Jul-2019 | 2 KiB | 104 | 73 | |
common.go | H A D | 27-Jul-2019 | 2.3 KiB | 102 | 40 | |
decode_data.go | H A D | 27-Jul-2019 | 2.8 KiB | 107 | 51 | |
decoder.go | H A D | 27-Jul-2019 | 21.1 KiB | 772 | 477 | |
decoder_test.go | H A D | 27-Jul-2019 | 5.4 KiB | 373 | 312 | |
doc.go | H A D | 27-Jul-2019 | 1.5 KiB | 40 | 1 | |
domain.go | H A D | 27-Jul-2019 | 1.6 KiB | 96 | 63 | |
entity.go | H A D | 27-Jul-2019 | 697 | 32 | 21 | |
error.go | H A D | 27-Jul-2019 | 366 | 22 | 10 | |
example_test.go | H A D | 27-Jul-2019 | 3.1 KiB | 127 | 73 | |
go.mod | H A D | 27-Jul-2019 | 463 | 15 | 12 | |
go.sum | H A D | 27-Jul-2019 | 2.4 KiB | 26 | 25 | |
help.go | H A D | 27-Jul-2019 | 300 | 17 | 7 | |
ipnetwork.go | H A D | 27-Jul-2019 | 681 | 33 | 22 | |
nameserver.go | H A D | 27-Jul-2019 | 737 | 40 | 24 | |
print.go | H A D | 27-Jul-2019 | 17.7 KiB | 856 | 643 | |
print_test.go | H A D | 27-Jul-2019 | 568 | 37 | 22 | |
request.go | H A D | 27-Jul-2019 | 13 KiB | 491 | 279 | |
request_test.go | H A D | 27-Jul-2019 | 5.2 KiB | 241 | 193 | |
response.go | H A D | 27-Jul-2019 | 3.1 KiB | 156 | 111 | |
search_results.go | H A D | 27-Jul-2019 | 1 KiB | 45 | 22 | |
vcard.go | H A D | 27-Jul-2019 | 10.3 KiB | 448 | 261 | |
vcard_test.go | H A D | 27-Jul-2019 | 3.6 KiB | 166 | 137 |
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