summaryrefslogtreecommitdiff
path: root/data/example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'data/example.conf')
-rw-r--r--data/example.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/example.conf b/data/example.conf
index 9257b7b34..6680c6bad 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -282,6 +282,13 @@ networkinfo
options
{
/*
+ * On Linux/UNIX systems Anope can setuid and setgid to this user and group
+ * after starting up. This is useful if Anope has to bind to privileged ports
+ */
+ #user = "anope"
+ #group = "anope"
+
+ /*
* The case mapping used by services. This must be set to a valid locale name
* installed on your machine. Services use this case map to compare, with
* case insensitivity, things such as nick names, channel names, etc.
@@ -1047,6 +1054,15 @@ dns
* How long to wait in seconds before a DNS query has timed out
*/
timeout = 5
+
+ /*
+ * The port services use to listen for DNS queries.
+ * Note that ports less than 1024 are privileged on UNIX/Linux systems, and
+ * require Anope to be started as root. If you do this, it is recommended you
+ * set options:user and options:group so Anope can change users after binding
+ * to this port.
+ */
+ port = 53
}
/*