我正在尝试以编程方式查询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是唯一的选择?
谢谢.