Archive of UserLand's first discussion group, started October 5, 1998.

Re: What's the most reliable Whois out there?

Author:Dave Winer
Posted:11/2/1999; 3:56:21 PM
Topic:What's the most reliable Whois out there?
Msg #:12636 (In response to 12635)
Prev/Next:12635 / 12637

The server to talk to is:

whois.crsnic.net

This was in a PDF document on the site you pointed to, www.nsiregistry.com.

From there it's pretty clear how to proceed. It tells you which WhoIs server to talk to, on the third line in the response:

   Domain Name: USERLAND.COM
   Registrar: NETWORK SOLUTIONS, INC.
   Whois Server: rs.internic.net
   Referral URL: www.networksolutions.com
   Name Server: NS3.CONXION.NET
   Name Server: NS4.CONXION.NET
   Name Server: NS1.CONXION.NET

Updated whois.userland.com

I updated our WhoIs interface to use this information, and now it can find joker.com, which is registered by CORE, not NSI.

The relevant bit of (new) code follows:

local (nicserver = tcp.examples.whois (domainName, "whois.crsnic.net"));
local (pat = "Whois Server: ");
local (ix = string.patternmatch (pat, nicserver));
if ix != 0 {
	nicserver = string.delete (nicserver, 1, ix + sizeof (pat) - 1);
	nicserver = string.nthfield (nicserver, "\n", 1)};
whoResult = string.replaceAll (tcp.examples.whois (domainName, nicserver), "\n", "\r\n")





This page was archived on 6/13/2001; 4:53:19 PM.

© Copyright 1998-2001 UserLand Software, Inc.