/
Depends on
- dh-golang (dh-sequence-golang)
- golang-defaults (golang-any)
- golang-github-davecgh-go-spew (golang-github-davecgh-go-spew-dev)
- golang-github-jarcoal-httpmock (golang-github-jarcoal-httpmock-dev)
- golang-github-mitchellh-go-homedir (golang-github-mitchellh-go-homedir-dev)
- golang-go.crypto (golang-golang-x-crypto-dev)
- debhelper-compat, golang-gopkg-alecthomas-kingpin.v2-dev
Used by
README (full)
OpenRDAP is an command line RDAP client implementation in Go.
https://www.openrdap.org - homepage
https://www.openrdap.org/demo - live demo
Features
- Command line RDAP client
- Query types supported:
- ip
- domain
- autnum
- nameserver
- entity
- help
- url
- domain-search
- domain-search-by-nameserver
- domain-search-by-nameserver-ip
- nameserver-search
- nameserver-search-by-ip
- entity-search
- entity-search-by-handle
- Query bootstrapping (automatic RDAP server URL detection for ip/domain/autnum/(experimental) entity queries)
- Bootstrap cache (optional, uses ~/.openrdap by default)
- X.509 client authentication
- Output formats: text, JSON, WHOIS style
- Experimental object tagging support
Installation
This program uses Go. The Go compiler is available from https://golang.org/.
To install:
go install github.com/openrdap/rdap/cmd/rdap@master
This will install the "rdap" binary in your $GOPATH/go/bin directory. Try running:
~/go/bin/rdap google.com
Usage
| Query type | Usage |
|---|---|
| Domain (.com) | rdap -v example.com |
| Network | rdap -v 2001:db8:: |
| Autnum | rdap -v AS15169 |
| Nameserver | rdap -v -t nameserver -s https://rdap.verisign.com/com/v1 ns1.google.com |
| Help | rdap -v -t help -s https://rdap.verisign.com/com/v1 |
| Domain Search | rdap -v -t domain-search -s $SERVER_URL example*.gtld |
| Domain Search (by NS) | rdap -v -t domain-search-by-nameserver -s $SERVER_URL ns1.example.gtld |
| Domain Search (by NS IP) | rdap -v -t domain-search-by-nameserver-ip -s $SERVER_URL 192.0.2.0 |
| Nameserver Search | rdap -v -t nameserver-search -s $SERVER_URL ns1.example.gtld |
| Nameserver Search (by IP) | rdap -v -t nameserver-search-by-ip -s $SERVER_URL 192.0.2.0 |
| Entity Search | rdap -v -t entity-search -s $SERVER_URL ENTITY-TAG |
| Entity Search (by handle) | rdap -v -t entity-search-by-handle -s $SERVER_URL ENTITY-TAG |
See https://www.openrdap.org/docs.
Go docs
Uses
Go 1.20+
Links
-
Wikipedia - Registration Data Access Protocol
-
https://data.iana.org/rdap/ - Official IANA bootstrap information
-
https://test.rdap.net/rdap/ - Test alternate bootstrap service with more experimental RDAP servers
-
RFC 7480 HTTP Usage in the Registration Data Access Protocol (RDAP)
-
RFC 7481 Security Services for the Registration Data Access Protocol (RDAP)
-
RFC 7482 Registration Data Access Protocol (RDAP) Query Format
-
RFC 7483 JSON Responses for the Registration Data Access Protocol (RDAP)
-
RFC 7484 Finding the Authoritative Registration Data (RDAP) Service
| dir | .github/ |
| dir | bootstrap/ |
| dir | cmd/ |
| dir | debian/ |
| dir | sandbox/ |
| dir | test/ |
| file | .gitignore |
| file | LICENSE |
| file | README.md |
| file | autnum.go |
| file | cli.go |
| file | client.go |
| file | client_error.go |
| file | client_test.go |
| file | common.go |
| file | decode_data.go |
| file | decoder.go |
| file | decoder_test.go |
| file | doc.go |
| file | domain.go |
| file | entity.go |
| file | error.go |
| file | example_test.go |
| file | go.mod |
| file | go.sum |
| file | help.go |
| file | ipnetwork.go |
| file | nameserver.go |
| file | print.go |
| file | print_test.go |
| file | request.go |
| file | request_test.go |
| file | response.go |
| file | search_results.go |
| file | vcard.go |
| file | vcard_test.go |
