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

Dns 如何以编程方式查询senderbase.org?,dns,dnsbl,Dns,Dnsbl,我试图以编程方式查询senderbase.org,但很难找到任何关于它的信息 我试图查询: dig txt 8.8.8.8.query.senderbase.org 返回: "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

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

我试图查询:

dig txt 8.8.8.8.query.senderbase.org
返回:

"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|"
但这些字段似乎都没有指明IP是否已列出

我找到了下一页,其中包含对字段的描述。但字段26(似乎是我需要的)不存在()

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

有什么想法吗?或者解析他们的html是唯一的选择

谢谢。

在SenderBase DNS响应中指定的“域评级”已经实现,但从未使用过,或者至少不足以使其有用。最初指定的其他字段也有一些命中或未命中,不过对于发送量较大的电子邮件的发件人来说,大多数字段应该是非常新鲜的。您可能希望签出Perl库,直接使用它,或者作为您自己实现的参考


您提到的rf.senderbase.org域反映了senderbase声誉分数(SBR),这与您在网站上看到的内容基本无关。SBRS不被视为公共服务,因此明智的做法是在将其用于任何严重用途之前获得Cisco/IronPort的许可。

关键值如下

        '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',