RDAP command line client
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9abc5d0 Dec 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bootstrap Support both ~VRSN style service provider tags (deprecated) and -VRSN… Apr 26, 2018
cmd/rdap Add sandbox mode, which disables setting the --cache-dir. Oct 2, 2017
sandbox Add experimental support for pkcs#12 client certificates w/wo passwor… Apr 23, 2018
test Add test root cert, test client cert, test client private key (intent… Apr 21, 2018
.gitignore Initial commit Apr 30, 2017
.travis.yml travis.yml: Support Go 1.7+ only (requires 1.7 for context package) Dec 6, 2017
LICENSE Move to github.com/openrdap/rdap package (move files around) Sep 11, 2017
README.md Update instructions Dec 2, 2018
autnum.go Work on printing responses in a text format Oct 20, 2017
cli.go cli: pass through -k/-insecure to bootstrap.Client May 28, 2018
client.go fix docs of parsing/converting client response May 28, 2018
client_error.go Add client tests + dedicated server error type Sep 30, 2017
client_test.go Add client tests + dedicated server error type Sep 30, 2017
common.go Move to github.com/openrdap/rdap package (move files around) Sep 11, 2017
decode_data.go Add temporary output printing using spew Oct 5, 2017
decoder.go Add TestDecodeMismatchedTypes Oct 5, 2017
decoder_test.go Add TestDecodeMismatchedTypes Oct 5, 2017
doc.go Work on printing responses in a text format Oct 20, 2017
domain.go Fix SecureDNS/KeyData parsing Oct 22, 2017
entity.go Move to github.com/openrdap/rdap package (move files around) Sep 11, 2017
error.go Printer: support printing more known fields out Oct 21, 2017
example_test.go Verbose log @ client level, rather than request level, to allow clien… Sep 30, 2017
help.go Move to github.com/openrdap/rdap package (move files around) Sep 11, 2017
ipnetwork.go Move to github.com/openrdap/rdap package (move files around) Sep 11, 2017
nameserver.go Work on printing responses in a text format Oct 20, 2017
print.go Implement printing of unknown values in text printer Dec 6, 2017
print_test.go Initial unfinished attempt at printing in text format Oct 20, 2017
request.go Support both ~VRSN style service provider tags (deprecated) and -VRSN… Apr 26, 2018
request_test.go Add TestNewHelpRequest Sep 23, 2017
response.go Add experimental support for pkcs#12 client certificates w/wo passwor… Apr 23, 2018
search_results.go Move to github.com/openrdap/rdap package (move files around) Sep 11, 2017
vcard.go Move to github.com/openrdap/rdap package (move files around) Sep 11, 2017
vcard_test.go Move to github.com/openrdap/rdap package (update import paths) Sep 11, 2017

README.md

OpenRDAP is an command line RDAP client implementation in Go. Build Status

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 get -u github.com/openrdap/rdap

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
Domain (.みんな) rdap -v -e nic.みんな
Network rdap -v 2001:db8::
Autnum rdap -v AS15169
Entity (test bootstrap) rdap -v -e 1-VRSN
Nameserver rdap -v -t nameserver -s https://rdap-pilot.verisignlabs.com/rdap/v1 ns1.google.com
Help rdap -v -t help -s https://rdap-pilot.verisignlabs.com/rdap/v1
Domain Search rdap -v -t domain-search -s https://rdap-pilot.verisignlabs.com/rdap/v1 exampl*.com
Domain Search (by NS) rdap -v -t domain-search-by-nameserver -s https://rdap-pilot.verisignlabs.com/rdap/v1 ns1.google.com
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
Nameserver Search rdap -v -t nameserver-search -s https://rdap-pilot.verisignlabs.com/rdap/v1 ns*.yahoo.com
Nameserver Search (by IP) rdap -v -t nameserver-search-by-ip -s https://rdap-pilot.verisignlabs.com/rdap/v1 194.72.238.11
Entity Search rdap -v -t entity-search -s https://rdap-pilot.verisignlabs.com/rdap/v1 Register*-VRSN
Entity Search (by handle) rdap -v -t entity-search-by-handle -s https://rdap-pilot.verisignlabs.com/rdap/v1 1*-VRSN

See https://www.openrdap.org/docs.

Go docs

godoc

Requires

Go 1.7+

Links