]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - docs/inspircd.conf.example
Added /stats T
[user/henk/code/inspircd.git] / docs / inspircd.conf.example
index 1e5e1201bc262140d445b1c470e11296c5e3abe3..4e98838a72c33dd7fd06c4fcdb1dd22c9786877e 100644 (file)
 #   To allow/deny all connections use a *                             #
 #                                                                    #
 #  Syntax is as follows:                                             #
-#      <connect allow="ip number">                                   #
-#      <connect allow="ip number" password="blahblah">               #
-#       <connect allow="ip number" password="blah" timeout="10">      #
-#      <connect allow="ip number" timeout="blah" flood="5">          #
-#      <connect deny="ip number">                                    #
+#      <connect allow="ip or host">                                  #
+#      <connect allow="ip or host" password="blahblah">              #
+#       <connect allow="ip or host" password="blah" timeout="10">     #
+#      <connect allow="ip or host" timeout="blah" flood="5">         #
+#      <connect deny="ip or host">                                   #
 #                                                                     #
 #   You may optionally include timeout="x" on any allow line, which   #
 #   specifies the amount of time given before an unknown connection   #
 # name      - The name is the canocial name of the server, it does    #
 #             not have to resolve - but it is expected to be sent in  #
 #             the remote servers connection info.                     #
-# ipaddr    - Valid ip address for remote server.                     #
+# ipaddr    - Valid host or ip address for remote server. *           #
 # port      - Valid listening UDP port for remote server.             #
 # sendpass  - Password to send to create an outbound connection to    #
 #             this server.                                            #
 # that server to operoverride modes. This should only be used for     #
 # services and protected oper servers!                                #
 #                                                                     #
+# IMPORTANT NOTE: When specifying the ip address and/or host, the     #
+# server software will prioritize RESOLVED hostnames above ip         #
+# addresses, so for example if your target server resolves to a.b.com #
+# you MUST put a.b.com into your link block, and NOT the IP address   #
+# of a.b.com. The system uses reverse resolution.                     #
+#                                                                     #
 
 <link name="hub.penguin.org"
-       ipaddr="12.34.56.78"
+       ipaddr="penguin.box.com"
        port="7000"
        sendpass="outgoing!password"
        recvpass="incoming!password">
 
 <link name="services.antarctic.com"
-       ipaddr="98.76.54.32"
+       ipaddr="localhost"
        port="7000"
        sendpass="penguins"
        recvpass="polarbears">
         loglevel="default"
         netbuffersize="10240"
          maxwho="128"
-        noservices="0">
+        noservices="0"
         allowhalfop="yes">
 
 
 
 <alias text="NICKSERV" replace="PRIVMSG NickServ :" requires="NickServ" uline="yes">
 <alias text="CHANSERV" replace="PRIVMSG ChanServ :" requires="ChanServ" uline="yes">
-<alias text="NS ID" replace="PRIVMSG NickServ :identify" requires="NickServ" uline="yes">
 <alias text="NS" replace="PRIVMSG NickServ :" requires="NickServ" uline="yes">
 <alias text="CS" replace="PRIVMSG ChanServ :" requires="ChanServ" uline="yes">