]> gitweb.michael.orlitzky.com - mjo-overlay.git/blobdiff - net-dns/rbldnsd/files/confd-0.997a
net-dns/rbldnsd: Don't depend on net in the init script.
[mjo-overlay.git] / net-dns / rbldnsd / files / confd-0.997a
index afe0cff4a1d61416d7d191c718c5f16a0d6a825a..0fb7685001e0baa3b43f2ec4eb81a5db147433d8 100644 (file)
@@ -1,7 +1,19 @@
 # A whitespace-separated list of addresses on which to listen. The
 # syntax is "host:port", where the port defaults to 53.
-LISTEN="127.0.0.1
-        192.168.0.1"
+#
+# Note that by default the rbldnsd init script does not require any
+# interfaces other than lo to be "up" (see bug #439092). So if you
+# LISTEN on a non-loopback interface, you should specify a dependency
+# on that interface using rc_need. An example is given below assuming
+# that net.lan0 provides 192.168.0.1.
+#
+# rc_need="net.lan0"
+#
+# LISTEN="127.0.0.1
+#         192.168.0.1"
+#
+LISTEN="localhost"
+
 
 # A whitespace-separated list of RBL zones. For the correct syntax, please
 # see the rbldnsd(8) man page. The following $ZONES will look for
@@ -11,6 +23,7 @@ LISTEN="127.0.0.1
 ZONES="badguys.example.com:ip4set:badguys.example.com
        spammers.example.net:ip4tset:spammers.example.net"
 
+
 # Add any additional options for the rbldnsd daemon below. The -a and
 # -vv below are suggested for performance/security reasons. They are
 # described in the man page.