Open main menu

Manual:$wgDnsBlacklistUrls/da

This page is a translated version of the page Manual:$wgDnsBlacklistUrls and the translation is 12% complete.

Other languages:
English • ‎dansk • ‎español • ‎polski • ‎العربية • ‎日本語
Proxies: $wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
Introduced in version:1.16.0 (r60506)
Removed in version:still in use
Allowed values:(array af strenge eller arrays) (1.19+)
(array af strenge) (1.16-1.18)
Default value:[ 'http.dnsbl.sorbs.net.' ]

Details

Sets a list of DNS blacklists to use, if $wgEnableDnsBlacklist is set to true. This replaced $wgSorbsUrl .

Changes in 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.

Example
$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