<?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_dns</id>
		<title>2.0/Modules/m dns - 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_dns"/>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;action=history"/>
		<updated>2026-05-29T18:45:18Z</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_dns&amp;diff=875&amp;oldid=prev</id>
		<title>Azander: Azander moved page 2.0/Moduules/m dns to 2.0/Modules/m dns without leaving a redirect: typo in url</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;diff=875&amp;oldid=prev"/>
				<updated>2014-05-12T20:58:07Z</updated>
		
		<summary type="html">&lt;p&gt;Azander moved page &lt;a href=&quot;/index.php?title=2.0/Moduules/m_dns&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;2.0/Moduules/m dns (page does not exist)&quot;&gt;2.0/Moduules/m dns&lt;/a&gt; to &lt;a href=&quot;/index.php/2.0/Modules/m_dns&quot; title=&quot;2.0/Modules/m dns&quot;&gt;2.0/Modules/m dns&lt;/a&gt; without leaving a redirect: typo in url&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:58, 12 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;diff=873&amp;oldid=prev</id>
		<title>Azander at 20:51, 12 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;diff=873&amp;oldid=prev"/>
				<updated>2014-05-12T20:51:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:51, 12 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Adds support for the DNS protocol. By itself this module does nothing useful, but other modules such as m_dnsbl and os_dns require this.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Adds support for the DNS protocol. By itself this module does nothing useful, but other modules such as m_dnsbl and os_dns require this.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;'''name=''' :The name of this module, referenced by other modules.&amp;#160; Do not change.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;'''name=''' :The name of this module, referenced by other modules.&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;Do not change&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;'''nameserver=''' :The nameserver to query.&amp;#160; Use either the IP address of the name server or use the local machine's /etc/resolv.conf configuration file (on linux/unix) to use the system's default name server(s).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;'''nameserver=''' :The nameserver to query.&amp;#160; Use either the IP address of the name server or use the local machine's /etc/resolv.conf configuration file (on linux/unix) to use the system's default name server(s).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;'''timeout=''' :Timeout before the name server request fails.&amp;#160; Do not set this too high or you will lag out services if you get a lot of DNS lookup queries.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;'''timeout=''' :Timeout before the name server request fails.&amp;#160; Do not set this too high or you will lag out services if you get a lot of DNS lookup queries.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;diff=872&amp;oldid=prev</id>
		<title>Azander at 20:50, 12 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;diff=872&amp;oldid=prev"/>
				<updated>2014-05-12T20:50:55Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:50, 12 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Language|2.0/Modules/m_dns}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Language|2.0/Modules/m_dns}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Header|m_dns|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Extras&lt;/del&gt;|Anope}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Header|m_dns|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Extra_Modules&lt;/ins&gt;|Anope}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Azander</name></author>	</entry>

	<entry>
		<id>//wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;diff=871&amp;oldid=prev</id>
		<title>Azander: Created page with &quot;{{Language|2.0/Modules/m_dns}} {{Header|m_dns|Extras|Anope}}   == &lt;div class=&quot;moduleheader&quot;&gt;Description&lt;/div&gt; == Adds support for the DNS protocol. By itself this module does ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.anope.org/index.php?title=2.0/Modules/m_dns&amp;diff=871&amp;oldid=prev"/>
				<updated>2014-05-12T20:50:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|2.0/Modules/m_dns}} {{Header|m_dns|Extras|Anope}}   == &amp;lt;div class=&amp;quot;moduleheader&amp;quot;&amp;gt;Description&amp;lt;/div&amp;gt; == Adds support for the DNS protocol. By itself this module does ...&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_dns}}&lt;br /&gt;
{{Header|m_dns|Extras|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;
Adds support for the DNS protocol. By itself this module does nothing useful, but other modules such as m_dnsbl and os_dns require this.&lt;br /&gt;
&lt;br /&gt;
;'''name=''' :The name of this module, referenced by other modules.  Do not change.&lt;br /&gt;
;'''nameserver=''' :The nameserver to query.  Use either the IP address of the name server or use the local machine's /etc/resolv.conf configuration file (on linux/unix) to use the system's default name server(s).&lt;br /&gt;
;'''timeout=''' :Timeout before the name server request fails.  Do not set this too high or you will lag out services if you get a lot of DNS lookup queries.&lt;br /&gt;
;'''ip=''' :The IP address to listen on for queries.  Leave it 0.0.0.0 unless you know what you are doing, or are using the os_DNS module.&lt;br /&gt;
;'''port=''' :The port to listen on.  The default (aka standard) DNS port is 53.  Do not change this unless you really know what you are doing.&lt;br /&gt;
;'''admin='' :This should be your DNS contact person.  &lt;br /&gt;
;'''nameservers=''' :This is where your zone files reside and are served out to others.&lt;br /&gt;
;'''refresh=''' :Time, in seconds, that a server beyond your direct control can keep a local copy of your DNS looked up reconrd before having to re-request them from your name servers.  Set this too low, your name servers will see a large increase in traffic, set it too high and changes can take a long time to be seen.&lt;br /&gt;
;'''notify {...}''' :What other name servers should be told, directly, or changes you have made.&lt;br /&gt;
:;'''ip=''' :What IP address of the name server to notify.&lt;br /&gt;
:;'''port=''' :What port should you do this notification on.&lt;br /&gt;
&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_dns&lt;br /&gt;
 *&lt;br /&gt;
 * Adds support for the DNS protocol. By itself this module does nothing useful,&lt;br /&gt;
 * but other modules such as m_dnsbl and os_dns require this.&lt;br /&gt;
 */&lt;br /&gt;
#module&lt;br /&gt;
{&lt;br /&gt;
        name = &amp;quot;m_dns&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The nameserver to use for resolving hostnames, must be an IP or a resolver configuration file.&lt;br /&gt;
         * The below should work fine on all unix like systems. Windows users will have to find their nameservers&lt;br /&gt;
         * from ipconfig /all and put the IP here.&lt;br /&gt;
         */&lt;br /&gt;
        nameserver = &amp;quot;/etc/resolv.conf&amp;quot;&lt;br /&gt;
        #nameserver = &amp;quot;127.0.0.1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * How long to wait in seconds before a DNS query has timed out.&lt;br /&gt;
         */&lt;br /&gt;
        timeout = 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Only edit below if you are expecting to use os_dns or otherwise answer DNS queries. */&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * The IP and port services use to listen for DNS queries.&lt;br /&gt;
         * Note that ports less than 1024 are privileged on UNIX/Linux systems, and&lt;br /&gt;
         * require Anope to be started as root. If you do this, it is recommended you&lt;br /&gt;
         * set options:user and options:group so Anope can change users after binding&lt;br /&gt;
         * to this port.&lt;br /&gt;
         */&lt;br /&gt;
        ip = &amp;quot;0.0.0.0&amp;quot;&lt;br /&gt;
        port = 53&lt;br /&gt;
&lt;br /&gt;
        /*&lt;br /&gt;
         * SOA record information.&lt;br /&gt;
         */&lt;br /&gt;
&lt;br /&gt;
        /* E-mail address of the DNS administrator. */&lt;br /&gt;
        admin = &amp;quot;admin@example.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /* This should be the names of the public facing nameservers serving the records. */&lt;br /&gt;
        nameservers = &amp;quot;ns1.example.com ns2.example.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        /* The time slave servers are allowed to cache. This should be reasonably low&lt;br /&gt;
         * if you want your records to be updated without much delay.&lt;br /&gt;
         */&lt;br /&gt;
        refresh = 3600&lt;br /&gt;
&lt;br /&gt;
        /* A notify block. There should probably be one per nameserver listed in 'nameservers'.&lt;br /&gt;
         */&lt;br /&gt;
        notify&lt;br /&gt;
        {&lt;br /&gt;
                ip = &amp;quot;192.0.2.0&amp;quot;&lt;br /&gt;
                port = 53&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>