Manual:$wgDnsBlacklistUrls/ar

This page is a translated version of the page Manual:$wgDnsBlacklistUrls and the translation is 10% complete.
حقوق المستخدمين والتحكم في الوصول ومراقبته: $wgDnsBlacklistUrls
List of DNS blacklists to use, if $wgEnableDnsBlacklist is true.
أضيف في الإصدار:1.16.0 (r60506)
حذف من الإصدار:ما زال مستخدمًا
القيم المسموح بها:(مجموعة من الخيوط او المجاميع) (1.19+)
(مجموعة من الخيوط) (1.16-1.18)
القيمة الافتراضية:(see below)

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

Default values

إصدار ميدياويكي:
1.44
$wgDnsBlacklistUrls = [];

This change was backported to MediaWiki 1.39.12, 1.42.5, and 1.43.1.

إصدارات ميدياويكي:
1.16 – 1.43
$wgDnsBlacklistUrls = [
	'http.dnsbl.sorbs.net.',
];

Changes in MediaWiki 1.19 and later

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.

Example
$wgDnsBlacklistUrls = [
	// String containing an URL:
    'bl.spamcop.net.',
	// Array with URL and key, for services that require a key:
    [ 'b.barracudacentral.org.', 'mykey' ],
	// Array with a string containing an URL. Recommended: use a string containing an URL instead (see above).
    [ 'psbl.surriel.com.' ]
];
or
$wgDnsBlacklistUrls = [
    'bl.spamcop.net.',
    'psbl.surriel.com.'
];

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.

See also

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