-assign port for DNS
authorChristian Grothoff <christian@grothoff.org>
Sat, 20 Dec 2014 18:24:03 +0000 (18:24 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 20 Dec 2014 18:24:03 +0000 (18:24 +0000)
src/dns/dns.conf.in

index 4f87845b1c2964646125c00606e24de70221b4c5..000b73cf1ca1e5c37ae7aca7f4cc6872b6d5ce1b 100644 (file)
@@ -3,14 +3,14 @@ AUTOSTART = @AUTOSTART@
 HOSTNAME = localhost
 BINARY = gnunet-service-dns
 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-dns.sock
-
+@UNIXONLY@ PORT = 2122
 # Access to this service can compromise all DNS queries in this
 # system.  Thus access should be restricted to the same UID.
 # (see https://gnunet.org/gnunet-access-control-model)
 UNIX_MATCH_UID = YES
 UNIX_MATCH_GID = YES
 
-# As there is no sufficiently restrictive access control for TCP, 
+# As there is no sufficiently restrictive access control for TCP,
 # we never use it, even if @UNIXONLY@ is not set (just to be safe)
 @UNIXONLY@ PORT = 0