<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dnsbl on René Moser</title><link>https://www.renemoser.net/tags/dnsbl/</link><description>Recent content in Dnsbl on René Moser</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 09 Dec 2008 00:00:00 +0000</lastBuildDate><atom:link href="https://www.renemoser.net/tags/dnsbl/index.xml" rel="self" type="application/rss+xml"/><item><title>Use DNS Blacklists in PHP</title><link>https://www.renemoser.net/blog/2008/12/09/use-dns-blacklists-in-php/</link><pubDate>Tue, 09 Dec 2008 00:00:00 +0000</pubDate><guid>https://www.renemoser.net/blog/2008/12/09/use-dns-blacklists-in-php/</guid><description>A DNS blacklist (DNSBL) is queried like any other DNS name: reverse the octets of the address you want to check, append the zone of the list, and resolve it. If the name resolves, the address is listed. No API keys, no HTTP client, no library — a resolver is all you need.
The snippet below checks one address against a list of DNSBL zones and stops at the first hit.</description></item></channel></rss>