Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domain lookup did not work #20

Closed
randyqx opened this issue Nov 1, 2016 · 4 comments
Closed

domain lookup did not work #20

randyqx opened this issue Nov 1, 2016 · 4 comments

Comments

@randyqx
Copy link

randyqx commented Nov 1, 2016

so i decided to take it for a spin. sierra on a mid-2014 rmbp. did a
simple gem install.

ryuu.psg.com:/usr/local/src# gem install nicinfo-1.1.1.gem 
Successfully installed nicinfo-1.1.1
Parsing documentation for nicinfo-1.1.1
Installing ri documentation for nicinfo-1.1.1
1 gem installed

fwiw, the docco install took foreverrrrrrr

it worked for ip addresses, less so for domain names

ryuu.psg.com:/Users/randy> nicinfo rg.net       
# NicInfo v.1.1.1
# Query yielded no results.

[ NOTICE ] Terms of Service
         1 By using the ARIN RDAP/Whois service, you are agreeing to the
           RDAP/Whois Terms of Use
     About https://www.arin.net/whois_tou.html

 [ ERROR ] DOMAIN NOT FOUND
      Code 404
         1 The domain you are seeking as 'rg.net.' is/are not here.

even being explicit did not help

ryuu.psg.com:/Users/randy> nicinfo -t domain psg.com
# NicInfo v.1.1.1
# Query yielded no results.

[ NOTICE ] Terms of Service
         1 By using the ARIN RDAP/Whois service, you are agreeing to the
           RDAP/Whois Terms of Use
     About https://www.arin.net/whois_tou.html

 [ ERROR ] DOMAIN NOT FOUND
      Code 404
         1 The domain you are seeking as 'psg.com.' is/are not here.

i assume i am doing something st00pid, but what? and how to debug?

@anewton1998
Copy link
Contributor

You are not doing anything stupid. To date, the only domain registry that has formally fielded an RDAP server is CZNic. The list is kept by IANA here: http://data.iana.org/rdap/dns.json

@randyqx
Copy link
Author

randyqx commented Nov 2, 2016

to quote sandy, "oh scissors"

thanks. i'll go and try and be stupid elsewhere

@randyqx randyqx closed this as completed Nov 2, 2016
@purplehat7
Copy link

FWIW that list has been updated to include a .com and .net entry: https://rdap-pilot.verisignlabs.com.

If you do something like the following you seem to get a response back:

nicinfo -t domain -b https://rdap-pilot.verisignlabs.com/rdap/v1/domain cnn.com

@anewton1998
Copy link
Contributor

Thanks. Looking at http://data.iana.org/rdap/dns.json it seems to have some new stuff.
I'll see about bringing that in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants