Blog di Dino Ciuffetti (Bernardino in realtà)

09 Ago 11 DNSBL GeoIP service at

I recently discovered a wonderful DNSBL service reporting you where public Internet IPs are from.
The service is

You can for example block any mail at your mailserver coming from china or russia, simply integrating this DNSBL with your MTA.
You can even get the country of your IP with dig!

Warning: You need to swap IP octets. If for example the IP to check is, you have to call

root@nbvirtdns1:/# dig TXT 1047 IN TXT “it”

Reader's Comments


    To block a country from sending mail to your MTA, you’d simply prepend the IANA country code to

    Examples: -> China -> Korea -> Poland -> Russia -> Brazil -> Argentina

    Reply to this comment
  2. convinced-centennial

Lascia un commento