Commit graph

4 commits

Author SHA1 Message Date
9f4ae469d9 Test extended to show the use of localizedomain 2012-01-24 11:49:07 +01:00
542c53dcca DomainClassifier Class extended
The class has been extended to add the localizedomain
method to geolocalize DNS records associated for an existing domain.
The localization rely on the Team Cymru ip2asn lookup via DNS.
2012-01-24 11:47:04 +01:00
e2d08d181f Minimal README added 2012-01-23 17:48:32 +01:00
9eb1e3e4ef First version of the domain extractor and classify
The class domainclassifer got two methods:

- domain() to extract all potential domains from a raw text
  The method returns a list.

- validdomain() returning all the existing domains based on their
  known DNS records sets like A,AAAA or CNAME records.
  The method returns a set. If the extended option is requested, it's a list
  of tuples containing the domain with their existing DNS records and
  their returned data.
2012-01-23 16:16:01 +01:00