Handbuch:$wgDnsBlacklistUrls
Appearance
Benutzerrechte, Zugriffskontrolle und Überwachung: $wgDnsBlacklistUrls | |
---|---|
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true . |
|
Eingeführt in Version: | 1.16.0 (r60506) |
Entfernt in Version: | Weiterhin vorhanden |
Erlaubte Werte: | (Array von Strings oder Arrays) (1.19+) (Array von Zeichenketten) (1.16-1.18) |
Standardwert: | [ 'http.dnsbl.sorbs.net.', ] |
Andere Einstellungen: Alphabetisch | Nach Funktion |
Details
Sets a list of DNS blocklists to use, if $wgEnableDnsBlacklist
is set to true
.
Dies ersetzte $wgSorbsUrl
.
Änderungen in 1.19
Array values can either be a string containing the URL of the DNS blocklist, or an array containing the URL of the blocklist and an associated "key" should the blocklist require one.
- Beispiel
$wgDnsBlacklistUrls = [
'http.dnsbl.sorbs.net.', # String containing URL
[ 'dnsbl.httpbl.net.', 'mykey' ], # Array with URL and key, for services that require a key
[ 'dnsbl.tornevall.org.' ] # Array with just URL. While this works, it is recommended that you just use a string as shown above
];
- or
$wgDnsBlacklistUrls = [
'xbl.spamhaus.org.',
'dnsbl.tornevall.org.',
'spam.dnsbl.sorbs.net.',
'rbl.dnsbl.im.',
'noptr.spamrats.com.',
'all.s5h.net.',
'z.mailspike.net.'
];
You can find DNSBL-format spam databases on DNSBL.info or other similar websites.
You should end the domain name with a "
.
" to avoid searching your eventual domain search suffixes.
Siehe auch
$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 from being blocked