如何以编程方式查询senderbase.org?

Fer*_*ndo 3 dns dnsbl

我正在尝试以编程方式查询senderbase.org,但很难找到有关它的任何信息.

我尝试查询:

dig txt 8.8.8.8.query.senderbase.org
Run Code Online (Sandbox Code Playgroud)

哪个回报:

"0-0=1|1=Google Incorporated|2=3.7|3=4.0|4=3228772|6=1174353533|8=2880|9=1|20=google-public-dns-a.|21=google.com|22=Y|23=7.9|24=8.0|25=1049184000|40=3.7|41=4.0|43=3.8|44=0.06|45=N|46=24|48=24|49=1.00|50=Mountain View|51=CA|52=94043|53=US|54=-122.057|"
Run Code Online (Sandbox Code Playgroud)

但这些字段似乎都没有表明是否列出了IP.

我找到了以下页面,其中包含对这些字段的描述.但是,似乎是我需要的字段26不存在(http://web.archive.org/web/20040830010414/http://www.senderbase.org/dnsresponses.html).

我还发现了一些查询rf.senderbase.org的SpamAssassin扩展,但它给了我不一致的结果.对于相同的字段,有时它返回一个浮点数,有时它不会返回任何内容.

有任何想法吗?或解析他们的HTML是唯一的选择?

谢谢.

小智 7

关键值如下

        '0-0' => 'version_number',
        1 => 'org_name',
        2 => 'org_daily_magnitude',
        3 => 'org_monthly_magnitude',
        4 => 'org_id',
        5 => 'org_category',
        6 => 'org_first_message',
        7 => 'org_domains_count',
        8 => 'org_ip_controlled_count',
        9 => 'org_ip_used_count',
        10 => 'org_fortune_1000',

        20 => 'hostname',
        21 => 'domain_name',
        22 => 'hostname_matches_ip',
        23 => 'domain_daily_magnitude',
        24 => 'domain_monthly_magnitude',
        25 => 'domain_first_message',
        26 => 'domain_rating',

        40 => 'ip_daily_magnitude',
        41 => 'ip_monthly_magnitude',
        43 => 'ip_average_magnitude',
        44 => 'ip_30_day_volume_percent',
        45 => 'ip_in_bonded_sender',
        46 => 'ip_cidr_range',
        47 => 'ip_blacklist_score',

        50 => 'ip_city',
        51 => 'ip_state',
        52 => 'ip_postal_code',
        53 => 'ip_country',
        54 => 'ip_longitude',
        55 => 'ip_latitude',
Run Code Online (Sandbox Code Playgroud)