<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.anope.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fm_dnsbl</id>
		<title>2.0/Modules/m dnsbl - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.anope.org/index.php?action=history&amp;feed=atom&amp;title=2.0%2FModules%2Fm_dnsbl"/>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_dnsbl&amp;action=history"/>
		<updated>2026-05-29T18:39:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.4</generator>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/m_dnsbl&amp;diff=897&amp;oldid=prev</id>
		<title>Azander: Created page with &quot;{{Language|2.0/Modules/m_dnsbl}} {{Header|m_dnsbl|Extra_Modules|Anope}}   == &lt;div class=&quot;moduleheader&quot;&gt;Description&lt;/div&gt; == Allows configurable DNS blacklists to check connect...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_dnsbl&amp;diff=897&amp;oldid=prev"/>
				<updated>2014-05-13T14:01:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|2.0/Modules/m_dnsbl}} {{Header|m_dnsbl|Extra_Modules|Anope}}   == &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; == Allows configurable DNS blacklists to check connect...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|2.0/Modules/m_dnsbl}}&lt;br /&gt;
{{Header|m_dnsbl|Extra_Modules|Anope}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; ==&lt;br /&gt;
Allows configurable DNS blacklists to check connecting users against. If a user is found on the blacklist they will be immediately banned. &lt;br /&gt;
&lt;br /&gt;
;name= :Name of module.&lt;br /&gt;
;check_on_connect= :If set, Services will check clients against the DNSBLs when services connect to its uplink. '''NOT recommended'''&lt;br /&gt;
;check_on_netburst= :If set, Services will check clients when coming back from a netsplit. '''NOT recommended'''&lt;br /&gt;
;add_to_akill= : If set, OperServ will add clients found in the DNSBL to the akill list. Without it, OperServ simply sends a timed G/K-line to the IRCd and forgets about it.&lt;br /&gt;
;blacklist {...} :&lt;br /&gt;
:;name= :Blacklist address to check against&lt;br /&gt;
:;time= :How long to set the ban&lt;br /&gt;
:;reason= :Reason for kill&lt;br /&gt;
:;1-5= :Replies to ban, and Ban reason, see default configuration below for details.  (optional)&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Default Configuration&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * m_dnsbl&lt;br /&gt;
 *&lt;br /&gt;
 * Allows configurable DNS blacklists to check connecting users against. If a user&lt;br /&gt;
 * is found on the blacklist they will be immediately banned. This is a crucial module&lt;br /&gt;
 * to prevent bot attacks.&lt;br /&gt;
 */&lt;br /&gt;
#module&lt;br /&gt;
{&lt;br /&gt;
        name = &amp;quot;m_dnsbl&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * If set, Services will check clients against the DNSBLs when services connect to its uplink.&lt;br /&gt;
         * This is not recommended, and on large networks will open a very large amount of DNS queries.&lt;br /&gt;
         * Whilst services are not drastically affected by this, your nameserver/DNSBL might care.&lt;br /&gt;
         */&lt;br /&gt;
        check_on_connect = no&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * If set, Services will check clients when coming back from a netsplit. This can cause a large number&lt;br /&gt;
         * of DNS queries open at once. Whilst services are not drastically affected by this, your nameserver/DNSBL&lt;br /&gt;
         * might care.&lt;br /&gt;
         */&lt;br /&gt;
        check_on_netburst = no&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * If set, OperServ will add clients found in the DNSBL to the akill list. Without it, OperServ simply sends&lt;br /&gt;
         * a timed G/K-line to the IRCd and forgets about it. Can be useful if your akill list is being fill up by bots.&lt;br /&gt;
         */&lt;br /&gt;
        add_to_akill = yes&lt;br /&gt;
&lt;br /&gt;
        blacklist&lt;br /&gt;
        {&lt;br /&gt;
                /* Name of the blacklist. */&lt;br /&gt;
                name = &amp;quot;rbl.efnetrbl.org&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                /* How long to set the ban for. */&lt;br /&gt;
                time = 4h&lt;br /&gt;
&lt;br /&gt;
                /* Reason for akill.&lt;br /&gt;
                 * %n is the nick of the user&lt;br /&gt;
                 * %u is the ident/username of the user&lt;br /&gt;
                 * %g is the realname of the user&lt;br /&gt;
                 * %h is the hostname of the user&lt;br /&gt;
                 * %i is the IP of the user&lt;br /&gt;
                 * %r is the reason (configured below). Will be nothing if not configured.&lt;br /&gt;
                 * %N is the network name set in networkinfo:networkname&lt;br /&gt;
                 */&lt;br /&gt;
                reason = &amp;quot;You are listed in the efnet RBL, visit http://rbl.efnetrbl.org/?i=%i for info&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                /* Replies to ban and their reason. If this is totally omitted all replies get banned. */&lt;br /&gt;
                1 = &amp;quot;Open Proxy&amp;quot;&lt;br /&gt;
                /* Don't ban for result 2 or 3 */&lt;br /&gt;
                #2 = &amp;quot;spamtrap666&amp;quot;&lt;br /&gt;
                #3 = &amp;quot;spamtrap50&amp;quot;&lt;br /&gt;
                4 = &amp;quot;TOR&amp;quot;&lt;br /&gt;
                5 = &amp;quot;Drones / Flooding&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        blacklist&lt;br /&gt;
        {&lt;br /&gt;
                name = &amp;quot;dnsbl.dronebl.org&amp;quot;&lt;br /&gt;
                time = 4h&lt;br /&gt;
                reason = &amp;quot;You have a host listed in the DroneBL. For more information, visit http://dronebl.org/lookup_branded?ip=%i&amp;amp;network=%N&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	</feed>