Manual:$wgDnsBlacklistUrls

Details
Sets a list of DNS blacklists to use, if   is set to  . This replaced  .

Changes in 1.19
Array values can either be a string containing the URL of the DNS blacklist, or an array containing the URL of the blacklist and an associated "key" should the blacklist require one.


 * Example


 * or

You can find Spam databases on https://www.dnsbl.info/ or others similar websites.

Trigger DNSBL on specific actions
$wgDnsBlacklistUrls only apply on account creation by default. To apply it on others actions like edits set in LocalSettings.php

Other available functions