summaryrefslogtreecommitdiff
path: root/data/example.conf
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-24 19:32:26 -0400
committerAdam <Adam@anope.org>2012-10-24 19:32:26 -0400
commit1057fa842144e84563ddd887beaeaebe8c4f8a47 (patch)
treec43d1706df45866d5c13fcfb8333d3ee62bbdfd0 /data/example.conf
parentfca9ec085e74efa005dd981f2af2a6d6fd78ce89 (diff)
BIND's forward ability did not work as I expected
because it will not forward non recursive queries. So, added support for SOA, NS, and AXFR requests.
Diffstat (limited to 'data/example.conf')
-rw-r--r--data/example.conf15
1 files changed, 14 insertions, 1 deletions
diff --git a/data/example.conf b/data/example.conf
index 8330eeb78..54bf09f2a 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -1037,7 +1037,7 @@ mail
* [OPTIONAL] DNS Config
*
* This section is used to configure DNS.
- * At this time DNS is only used by a few modules (m_dnsbl)
+ * At this time DNS is only used by a few modules (m_dnsbl and os_dns)
* and is not required by the core to function.
*/
dns
@@ -1055,6 +1055,8 @@ dns
*/
timeout = 5
+ /* Only edit below if you are expecting to use os_dns */
+
/*
* The IP and port services use to listen for DNS queries.
* Note that ports less than 1024 are privileged on UNIX/Linux systems, and
@@ -1064,6 +1066,17 @@ dns
*/
ip = "0.0.0.0"
port = 53
+
+ /*
+ * SOA record information.
+ */
+ admin = "admin@example.com"
+ /* This should be the name of the public facing nameserver serving the records */
+ primary_nameserver = "ns1.example.com"
+ /* The time slave servers are allowed to cache. This should be reasonably low
+ * if you want your records to be updated without much delay.
+ */
+ refresh = 3600
}
/*