Manual:$wgEnableDnsBlacklist

Category:MediaWiki configuration settings#EnableDnsBlacklistCategory:MediaWiki configuration settings introduced in version 1.16.0#EnableDnsBlacklistCategory:MediaWiki configuration settings still in use#EnableDnsBlacklistCategory:Permission variables#EnableDnsBlacklist
User rights, access control and monitoring: $wgEnableDnsBlacklist
Whether to use DNS blocklists in $wgDnsBlacklistUrls to check for open proxies.
Introduced in version:1.16.0 (r60506)
Removed in version:Still in use
Allowed values:(boolean)
Default value:false

Details

Sets whether to use DNS blocklists in $wgDnsBlacklistUrls to check for open proxies. This replaced $wgEnableSorbs.

Usage

  • This is an array of either a URL or an array with the URL and a key (should)
$wgDnsBlacklistUrls = [
  // String containing URL
  'http.dnsbl.sorbs.net.',
  // Array with URL and key, for services that require a key
  [ 'dnsbl.httpbl.net.', 'mykey' ],
  // Array with just the URL. While this works, it is recommended that you
  // just use a string as shown above
  [ 'opm.tornevall.org.' ]
];
You should end the domain name with a . to avoid searching your eventual domain search suffixes.

See also

  • $wgProxyList Allows to directly block an individual IP address or a list of IP addresses
  • $wgProxyWhitelist Allows to directly exempt an individual IP address or a list of IP addresses
Category:Spam management
Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.16.0 Category:MediaWiki configuration settings still in use Category:Permission variables Category:Spam management