Manual:$wgEnableDnsBlacklist
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 |
Other settings: Alphabetical | By function |
Details
editSets whether to use DNS blocklists in $wgDnsBlacklistUrls
to check for open proxies.
This replaced $wgEnableSorbs
.
Usage
edit- 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
edit$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