Manual:$wgDnsBlacklistUrls
プロキシ: $wgDnsBlacklistUrls | |
---|---|
$wgEnableDnsBlacklist が true の場合に使用する DNS ブラックリストのリスト。 |
|
導入されたバージョン: | 1.16.0 (r60506) |
除去されたバージョン: | 使用中 |
許容される値: | (文字列の配列、または配列の配列) (1.19+) (文字列の配列) (1.16-1.18) |
既定値: | [ 'http.dnsbl.sorbs.net.' ] |
その他の設定: アルファベット順 | 機能順 |
詳細
$wgEnableDnsBlacklist
に true
を設定した場合に、使用する DNS ブラックリストのリストを設定します。
この変数は $wgSorbsUrl
に代わるものでした。
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.
- 例
$wgDnsBlacklistUrls = array(
'http.dnsbl.sorbs.net.', # URL を含む文字列
array( 'dnsbl.httpbl.net.', 'mykey' ), # URL とキーの配列。キーが必要なサービス向け
array( 'dnsbl.tornevall.org.' ) # URL の配列。これは動作しますが、上記のように文字列を指定することをお勧めします
);
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