keperry/rdap

-j/--json switch returns no json data

Opened this issue · 0 comments

When using the -j/--json switch, no data is returned structured as json

user@host Desktop % ~/go/bin/rdap -v google.com -j    
# OpenRDAP v0.0.1
# 
# rdap: Configuring query...
# rdap: Using disk cache (/Users/a206709233/.openrdap)
# rdap: Bootstrap URL is default 'https://data.iana.org/rdap/'
# rdap: Bootstrap cache TTL set to 3600 seconds
# rdap: Timeout is 30 seconds
# 
# client: Running...
# client: Request type  : domain
# client: Request query : google.com
# client: Request URL   : TBD, bootstrap required
#   bootstrap: Looking up...
#   bootstrap: Question type : dns
#   bootstrap: Question query: google.com
#   bootstrap: Cache state: dns.json: good
#   bootstrap: Using cached Service Registry file
#   bootstrap: Looked up 'google.com'
#   bootstrap: Matching entry 'com'
#   bootstrap: Service URL #1: 'https://rdap.verisign.com/com/v1/'
# client: RDAP URL #0 is https://rdap.verisign.com/com/v1/domain/google.com
# client: GET https://rdap.verisign.com/com/v1/domain/google.com
# client: status-code=200, content-type=application/rdap+json, length=2429 bytes, duration=353.50978ms
# client: Successfully decoded response
# 
# rdap: Finished in 360.84536ms

Cloned issue from openrdap#20