Manuel:$wgDnsBlacklistUrls
Jump to navigation
Jump to search
Outdated translations are marked like this.
Proxies: $wgDnsBlacklistUrls | |
---|---|
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true . |
|
Introduzida na versão: | 1.16.0 (r60506) |
Removida na versão: | ainda em uso |
Valores permitidos: | (array of strings or arrays) (1.19+) (array of strings) (1.16-1.18) |
Valor por omissão: | [ 'http.dnsbl.sorbs.net.' ] |
Outras configurações: Lista Alfabética | Lista por Função |
Detalhes
Sets a list of DNS blacklists to use, if $wgEnableDnsBlacklist
is set to true
.
This replaced $wgSorbsUrl
.
Modificações em 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.
Exemplo
$wgDnsBlacklistUrls = array(
'http.dnsbl.sorbs.net.', # String containing URL
array( 'dnsbl.httpbl.net.', 'mykey' ), # Array with URL and key, for services that require a key
array( 'dnsbl.tornevall.org.' ) # Array with just URL. While this works, it is recommended that you just use a string as shown above
);
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