Manual:$wgEnableDnsBlacklist/ru
User rights, access control and monitoring: $wgEnableDnsBlacklist | |
---|---|
Whether to use DNS blocklists in $wgDnsBlacklistUrls to check for open proxies. |
|
Введено в версии: | 1.16.0 (r60506) |
Удалено в версии: | всё ещё используется |
Допустимые значения: | (boolean) |
Значение по умолчанию: | 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.
См. также
$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