nanog mailing list archives
Re: WHOIS source?
From: Andrew Brown <twofsonet () graffiti com>
Date: Fri, 23 Jun 2000 17:43:00 -0400
Can someone point me to the source for a whois server... I don't know why, but I haven't been able to find any sources....
it seems to me that in the complete and utter absence of a formal protocol, a sample implementation might something like: #!/usr/local/bin/perl chomp($query=<>); dbmopen(%whois,"whoisdatabase",undef); $answer=$whois{$query}||"what's that?\r\n"; dbmclose(%whois); print($answer); run from inetd on port 43. feel free to add your own output format and/or information copyright warning. none of the whois servers out there right now seem to adhere to any sort of standard and the output seems to be of the "just send eight" variety. -- |-----< "CODE WARRIOR" >-----| codewarrior () daemon org * "ah! i see you have the internet twofsonet () graffiti com (Andrew Brown) that goes *ping*!" andrew () crossbar com * "information is power -- share the wealth."
Current thread:
- WHOIS source? Steve Sobol (Jun 23)
- RE: WHOIS source? Roeland Meyer (E-mail) (Jun 23)
- Re: WHOIS source? TTSG (Jun 23)
- Re: WHOIS source? Steve Sobol (Jun 23)
- Re: WHOIS source? Bora Akyol (Jun 23)
- Re: WHOIS source? Andrew Brown (Jun 23)
- RE: WHOIS source? Roeland M.J. Meyer (Jun 23)
- Re: WHOIS source? Andrew Brown (Jun 23)
- RE: WHOIS source? Roeland M.J. Meyer (Jun 23)
- <Possible follow-ups>
- Re: WHOIS source? Andrei Robachevsky (Jun 26)
- RE: WHOIS source? Roeland Meyer (E-mail) (Jun 23)