Page MenuHomePhabricator

$wgEnableDnsBlacklist $wgDnsBlacklistUrls don't do anything
Closed, InvalidPublicBUG REPORT

Description

Steps to Reproduce:

I put this in LocalSettings.php

$wgEnableDnsBlacklist = true;

$wgDnsBlacklistUrls = array( 'spam.dnsbl.sorbs.net.' );

Actual Results:
It doesn't block my VPN ip that is black listed from that specific DNSBL provider as seen here https://www.dnsbl.info/dnsbl-database-check.php

Expected Results:
To prevent that IP from editing pages.

Did I miss something? I wish I could just use DNSBL to prevent spam as it really the easiest way and most efficient way to do this.
I really don't know why it isn't more spread.

Event Timeline

What version of MW?

Is it an IPv4 or an IPv6 address?

Latest stable version MW version 1.34.2

It is an IPv4 address.

Please avoid adding comments which don't add any further information to a ticket.
See https://www.mediawiki.org/wiki/Bug_management/Development_prioritization for more context. Thanks a lot!

Per T258316: Spam Prevention: Prevent edits using $wgDnsBlacklistUrls and the comment of

The $wgDnsBlacklistUrls parameters is very efficient in preventing spam and vandalism.

It can't both be broken and very effective