]> arthur.barton.de Git - ngircd-alex.git/blobdiff - doc/sample-ngircd.conf
make Listen parameter a comma-seperated list of addresses.
[ngircd-alex.git] / doc / sample-ngircd.conf
index 973c68030107950717f74214077576cdcf3e57d1..87a94d9df8be365b4de8d2597cf06ed4d316800b 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: sample-ngircd.conf,v 1.43 2007/11/23 16:26:03 fw Exp $
+# $Id: sample-ngircd.conf,v 1.44 2008/01/07 23:02:29 alex Exp $
 
 #
 # This is a sample configuration file for the ngIRCd, which must be adepted
        # one port, separated with ",". (Default: 6667)
        ;Ports = 6667, 6668, 6669
 
-       # IP address on which the server should listen. (Default: empty,
-       # so the server listens on all IP addresses of the system)
-       ;Listen = 1.2.3.4
+       # comma seperated list of IP addresses on which the server should
+       # listen. Default values are:
+       # "0.0.0.0" or (if compiled with IPv6 support) "::,0.0.0.0"
+       # so the server listens on all IP addresses of the system by default.
+       ;Listen = 127.0.0.1,192.168.0.1
 
        # Text file with the "message of the day" (MOTD). This message will
        # be shown to all users connecting to the server:
        # Allow Pre-Defined Channels only (see Section [Channels])
        ;PredefChannelsOnly = no
 
+       # Don't do any DNS lookups when a client connects to the server.
+       ;NoDNS = no
+
+       # try to connect to other irc servers using ipv4 and ipv6, if possible
+       ;ConnectIPv6 = yes
+       ;ConnectIPv4 = yes
+
        # Maximum number of simultaneous connection the server is allowed
        # to accept (0: unlimited):
        ;MaxConnections = 0