Manual:$wgDnsBlacklistUrls

From MediaWiki.org
Jump to: navigation, search
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 of strings (1.18 and lower)

array of strings or arrays (1.19+)

Default value: array( 'http.dnsbl.sorbs.net.' )

Other settings: Alphabetical | By Function


[edit] Details

List of DNS blacklists to use, if $wgEnableDnsBlacklist is true. This replaces $wgSorbsUrl.

[edit] 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.

[edit] 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( 'opm.tornevall.org' )  # Array with just URL. While this works, it is recommended
                                  # that you just use a string as shown above
);


Language: English  • 日本語
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox