This page is a translated version of the page Manual:$wgDnsBlacklistUrls and the translation is 12% complete.
حقوق المستخدمين والتحكم في الوصول ومراقبته: $wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
أضيف في الإصدار:1.16.0 (r60506)
حذف من الإصدار:لا يزال مستخدم
القيم المسموح بها:(مجموعة من الخيوط او المجاميع) (1.19+)
(مجموعة من الخيوط) (1.16-1.18)
القيمة الافتراضية:[ '', ]

Sets a list of DNS blacklists to use, if $wgEnableDnsBlacklist is set to true. This replaced $wgSorbsUrl .

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.

$wgDnsBlacklistUrls = array(
    '', # String containing URL
    array( '', 'mykey' ), # Array with URL and key, for services that require a key
    array( '' )  # Array with just URL. While this works, it is recommended that you just use a string as shown above
$wgDnsBlacklistUrls = array( '', '', '', '', '', '', '' );

You can find Spam databases on or others similar websites.

You should end the domain name with a "." to avoid searching your eventual domain search suffixes.

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

$wgDnsBlacklistUrls['edit']          = true;

Other available functions

$wgDnsBlacklistUrls['create']        = true;
$wgDnsBlacklistUrls['createtalk']    = true;
$wgDnsBlacklistUrls['addurl']        = true;
$wgDnsBlacklistUrls['createaccount'] = true;

See also

  • $wgProxyList Allows to directly block an individual IP address or a list of IP addresses