[dns-operations] [ Slightly OT ] Any good Perl whois modules?

Doug Barton dougb at dougbarton.email
Thu Apr 14 20:44:09 UTC 2016


Yeah, I found it mildly ironic that all of the Perl whois projects died off in the 2008-2012 time frame, right before the thing actually started to standardize into something that would be easily parsable for the most part. :) This was my thought, to write a new parser format for Net::XWhois (which is nice because adding a new parser is very easy) to support this format, then deal with one-offs as I go. Most of the domains I'm working with are gTLDs anyway. If there is interest I'm happy to include my results. 

John Levine, thanks for the offer, I would appreciate it if you could send that, less wheel inventing is a good thing. :) Feel free to attach any convenient form of compressed file. 

Rick, thanks for the links, you saved me having to hunt this down. :)

Doug
April 14 2016 1:12 PM, "Rick Wesson"  wrote:

A not that many of the gTLD registrars that have signed the 2013 RAA are new required to support the format [1] specified in the 2013 RAA. See section 1.4.2 [2] for the specific format and requirements, optional fields. This should greatly reduce the number of parsers that you write.Also note that all the newGTLDs support a similar format, leaving the ccTLDs as the odd implementations.best,-rick[1] https://www.icann.org/resources/pages/format-2013-10-30-en (https://www.icann.org/resources/pages/format-2013-10-30-en)[2] https://www.icann.org/resources/pages/approved-with-specs-2013-09-17-en#whois (https://www.icann.org/resources/pages/approved-with-specs-2013-09-17-en#whois)
On Thu, Apr 14, 2016 at 12:46 PM, Mark Blackman  wrote:
On 14 Apr 2016, at 20:32, Doug Barton  wrote: 

What are people using nowadays to parse whois in Perl? It's been a long time since I had a project like this, and all the things I'm familiar with (Net::Whois, Net::XWhois, and Net::ParseWhois) have all bitrotted to the point that they barely work at all. And searching doesn't provide any shiny new alternatives. 

I can probably write a parser for XWhois pretty easily, but I don't want to reinvent the wheel if I don't have to. 
A quick perusal of CPAN suggests 

https://metacpan.org/pod/Net::Whois::Parser (https://metacpan.org/pod/Net::Whois::Parser) and

https://metacpan.org/pod/Net::Whois::Raw (https://metacpan.org/pod/Net::Whois::Raw)

- Mark
_______________________________________________
dns-operations mailing list
dns-operations at lists.dns-oarc.net (mailto:dns-operations at lists.dns-oarc.net)
https://lists.dns-oarc.net/mailman/listinfo/dns-operations
dns-jobs mailing list
https://lists.dns-oarc.net/mailman/listinfo/dns-jobs (https://lists.dns-oarc.net/mailman/listinfo/dns-jobs)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dns-oarc.net/pipermail/dns-operations/attachments/20160414/b58454a3/attachment.html>


More information about the dns-operations mailing list