aboutsummaryrefslogtreecommitdiff
path: root/src/service/gns/gns.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/gns/gns.conf.in')
-rw-r--r--src/service/gns/gns.conf.in59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/service/gns/gns.conf.in b/src/service/gns/gns.conf.in
new file mode 100644
index 000000000..d8a27ec22
--- /dev/null
+++ b/src/service/gns/gns.conf.in
@@ -0,0 +1,59 @@
1[gns]
2START_ON_DEMAND = @START_ON_DEMAND@
3IMMEDIATE_START = YES
4HOSTNAME = localhost
5BINARY = gnunet-service-gns
6UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-gns.sock
7@JAVAPORT@PORT = 2102
8
9# Do we require users that want to access GNS to run this process
10# (usually not a good idea)
11UNIX_MATCH_UID = NO
12
13# Do we require users that want to access GNS to be in the 'gnunet' group?
14UNIX_MATCH_GID = YES
15
16# How many queries is GNS allowed to perform in the background at the same time?
17MAX_PARALLEL_BACKGROUND_QUERIES = 1000
18
19# Should we use the DNS interception mechanism? If set to YES
20# we will ask gnunet-service-dns to pass DNS queries to us. Otherwise,
21# we only answer GNS queries via the API (which itself may be
22# called via NSS or other mechanisms).
23INTERCEPT_DNS = NO
24
25# PREFIX = valgrind --leak-check=full --track-origins=yes
26
27[gns-proxy]
28BINARY = gnunet-gns-proxy
29START_ON_DEMAND = NO
30RUN_PER_USER = YES
31BIND_TO=127.0.0.1
32BIND_TO6=::1
33
34# Where is the certificate for the GNS proxy stored?
35PROXY_CACERT = $GNUNET_DATA_HOME/gns/gns_ca_cert.pem
36PROXY_UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gns-proxy.sock
37
38[bcd]
39BINARY = gnunet-bcd
40OPTIONS = -p 8888
41START_ON_DEMAND = NO
42RUN_PER_USER = YES
43
44[dns2gns]
45BINARY = gnunet-dns2gns
46START_ON_DEMAND = NO
47RUN_PER_USER = NO
48BIND_TO=127.0.0.1
49BIND_TO6=::1
50
51# -d: DNS resolver to use
52OPTIONS = -d 9.9.9.9
53PORT = 15353
54
55# This setting is useful in combination with systemd-resolve and
56# NetworkManager-dispatcher. It allows the interfaces to automatically
57# configure the dns2gns server for interfaces going up
58# See also: contrib/packages/fedora/10-dns2gns.sh
59ENABLE_RESOLVECTL_NMDISPATCHER = NO