From edward.lewis at icann.org Fri Feb 17 11:31:59 2017 From: edward.lewis at icann.org (Edward Lewis) Date: Fri, 17 Feb 2017 16:31:59 +0000 Subject: [arin-tech-discuss] Using NicInfo Message-ID: <3E8475FB-1782-4AC9-8722-0943CAC6805A@icann.org> I'm having trouble using the RDAP client... I want to replicate this: $ whois -a "n 2001:500:88:200::7" | grep CIDR CIDR: 2001:500:88::/48 So I downloaded the tar file for NicInfo and did this: $ ./nicinfo --iana # NicInfo v.0.2.0 $ ./nicinfo -t ip6addr 2001:500:88:200::7 # NicInfo v.0.2.0 # getaddrinfo: nodename nor servname provided, or not known And even more mysterious is this: $ ./nicinfo -V -t ip6addr 2001:500:88:200::7 # NicInfo v.0.2.0 ## Using configuration found in /Users/edward.lewis/.NicInfo ## Evicted 0 files from the cache ## Issuing GET for http://rdappilot.arin.net/restfulwhois/rdap/ip/2001:500:88:20 # getaddrinfo: nodename nor servname provided, or not known typed ^z [1]+ Stopped ./nicinfo -V -t ip6addr 2001:500:88:200::7 $ kill -9 %1 [1]+ Killed: 9 ./nicinfo -V -t ip6addr 2001:500:88:200::7 Puzzled, I joined this mail list...(noting that https://www.arin.net/knowledge/rdap.pdf has broken links in it). From andy at arin.net Fri Feb 17 12:46:19 2017 From: andy at arin.net (Andy Newton) Date: Fri, 17 Feb 2017 17:46:19 +0000 Subject: [arin-tech-discuss] Using NicInfo In-Reply-To: <3E8475FB-1782-4AC9-8722-0943CAC6805A@icann.org> References: <3E8475FB-1782-4AC9-8722-0943CAC6805A@icann.org> Message-ID: <95D0B661-6D00-4F82-9EF6-1413690DEB54@arin.net> Ed, My response is in-line: On Feb 17, 2017, at 11:31 AM, Edward Lewis > wrote: $ ./nicinfo -V -t ip6addr 2001:500:88:200::7 # NicInfo v.0.2.0 ## Using configuration found in /Users/edward.lewis/.NicInfo ## Evicted 0 files from the cache ## Issuing GET for http://rdappilot.arin.net/restfulwhois/rdap/ip/2001:500:88:20 # getaddrinfo: nodename nor servname provided, or not known This is a very old version of NicInfo, and it is attempting to query rdappilot.arin.net which is no longer in service. (RDAP is in production and so the pilot program ended). You can find the latest version, 1.1.1, here: https://github.com/arineng/nicinfo/releases/tag/v1.1.1 The configs and cache structure changed between 0.2.0 and 1.1.1, so you might also want to erase your .NicInfo directory. Alternatively, nicinfo ?reset should work as well. Let me know if you have any further issues. Puzzled, I joined this mail list...(noting that https://www.arin.net/knowledge/rdap.pdf has broken links in it). https://rdap.arin.net/bootstrap and https://rdap.arin.net/registry are the base URLs for RDAP queries. We provide the information for people using curl, writing their own scrips and/or clients, or needing it for other reasons. Appending an RDAP query to them will yield results. For example: curl -L -v https://rdap.arin.net/bootstrap/ip/192.0.0.0 I hope that helps. Andy Newton, Chief Engineer, ARIN -------------- next part -------------- An HTML attachment was scrubbed... URL: From jennlee5578 at gmail.com Fri Feb 17 13:04:58 2017 From: jennlee5578 at gmail.com (Jennifer Lee) Date: Fri, 17 Feb 2017 13:04:58 -0500 Subject: [arin-tech-discuss] (no subject) Message-ID: please remove me -------------- next part -------------- An HTML attachment was scrubbed... URL: From edward.lewis at icann.org Fri Feb 17 13:37:12 2017 From: edward.lewis at icann.org (Edward Lewis) Date: Fri, 17 Feb 2017 18:37:12 +0000 Subject: [arin-tech-discuss] Website issue then ;) was Re: Using NicInfo Message-ID: Got it, but then maybe I should raise a website content issue (i.e., probably not as much an Andy issue, so I'm replying on list instead of off-line follow up). On 2/17/17, 12:46, "Andy Newton" wrote: >This is a very old version of NicInfo I downloaded it just a few hours ago. ;) I went to the ARIN web site and came to it via the path of least intelligence. I'll explain. I went to www.arin.net (over v6!) then to the search page: https://www.arin.net/search.html (again, over v6!) Typed "RDAP" into the search box and the first hit was https://www.arin.net/resources/rdap.html which I clicked (over v6! Okay, that's getting old.) On the page is a hyperlink labelled "NicInfo" inside this text: "Are there any RDAP clients available for me to use? Yes. ARIN has written a command-line RDAP client called NicInfo." That link dumped me into github for the 0.2.0 version. Also, this document: https://www.arin.net/knowledge/rdap.pdf has links that are non-fucntional, namely: "How Do I Use ARIN?s RDAP service? The correct URL preceding any query to ARIN?s RDAP service is https://rdap.arin.net/bootstrap/. Alternatively, you may use https://rdap.arin.net/registry/ to query without using ARIN?s bootstrap server." I'm not sure those URL-looking strings were meant to be clickable, but they are and they lead to prettied up "404's". (I was trying to copy and paste them and accidently clicked through.) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2013 bytes Desc: not available URL: From edward.lewis at icann.org Fri Feb 17 15:05:48 2017 From: edward.lewis at icann.org (Edward Lewis) Date: Fri, 17 Feb 2017 20:05:48 +0000 Subject: [arin-tech-discuss] [Ext] Re: Using NicInfo Message-ID: On 2/17/17, 12:46, "arin-tech-discuss on behalf of Andy Newton" wrote: >You can find the latest version, 1.1.1, here: >https://github.com/arineng/nicinfo/releases/tag/v1.1.1[github.com] FWIW, once I got back to this, it (new version) worked for me. Thanks for the pointer. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2013 bytes Desc: not available URL: From andy at arin.net Fri Feb 17 15:42:19 2017 From: andy at arin.net (Andy Newton) Date: Fri, 17 Feb 2017 20:42:19 +0000 Subject: [arin-tech-discuss] Website issue then ; ) was Re: Using NicInfo In-Reply-To: References: Message-ID: <3D25F4B1-2628-4FAD-B16D-164CF19AF6D5@arin.net> Ed, Thanks for the information. I?ve passed it on to the appropriate people. Enjoy your weekend. :) -andy > On Feb 17, 2017, at 1:37 PM, Edward Lewis wrote: > > Got it, but then maybe I should raise a website content issue (i.e., probably not as much an Andy issue, so I'm replying on list instead of off-line follow up). > > On 2/17/17, 12:46, "Andy Newton" wrote: > >> This is a very old version of NicInfo > > I downloaded it just a few hours ago. ;) I went to the ARIN web site and came to it via the path of least intelligence. I'll explain. > > I went to www.arin.net (over v6!) then to the search page: > > https://www.arin.net/search.html (again, over v6!) > > Typed "RDAP" into the search box and the first hit was > > https://www.arin.net/resources/rdap.html > > which I clicked (over v6! Okay, that's getting old.) > > On the page is a hyperlink labelled "NicInfo" inside this text: > > "Are there any RDAP clients available for me to use? > > Yes. ARIN has written a command-line RDAP client called NicInfo." > > That link dumped me into github for the 0.2.0 version. > > Also, this document: https://www.arin.net/knowledge/rdap.pdf > has links that are non-fucntional, namely: > > "How Do I Use ARIN?s RDAP service? > The correct URL preceding any query to ARIN?s RDAP service is > https://rdap.arin.net/bootstrap/. Alternatively, you may use > https://rdap.arin.net/registry/ to query without using ARIN?s > bootstrap server." > > I'm not sure those URL-looking strings were meant to be clickable, but they are and they lead to prettied up "404's". (I was trying to copy and paste them and accidently clicked through.) > > > > > > >