MDL now contains Autonomous System Numbers (ASNs).
This makes it easier to find all urls of a specific network.
Many ISPs and researchers had asked for this feature.
Now it's implemented.
We retrieve the ASNs from Team Cymru's service.
http://www.team-cymru.org/Services/ip-to-asn.htmlIt is an excellent service ! Thanks guys.
Their data base on BGP because it is a reflection of what is happening in
real time as opposed to whois records where data and records grow stale over time.
Here is a short php example how you can use their service.
function reverseIp($ip)
{
return implode('.', array_reverse(explode('.', $ip)));
} // function
require_once ('Net/DNS.php');
require_once ('Net/CheckIP.php');
$ip="74.200.241.122";
if (Net_CheckIP::check_ip($ip)) {
$ndr = new Net_DNS_Resolver();
$answer = $ndr->search(reverseIp($ip).".origin.asn.cymru.com", "TXT");
if ($answer) {
foreach ($answer->answer as $rr) {
echo trim(strtok($rr->rdatastr(),"|")," \x22\x27");
}
}
}
?>