From de8a543fdb583cc4079ca16b14c195ddd3ee7160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Anton=20=C3=96stman?= Date: Wed, 14 Aug 2019 13:16:14 +0200 Subject: [PATCH] update ncdns.conf file with fork/bind/cookie info fork=true, bind to :53 or [ipv6]:53, use cookie --- _doc/ncdns.conf.example | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_doc/ncdns.conf.example b/_doc/ncdns.conf.example index f1fd830..ce9fb73 100644 --- a/_doc/ncdns.conf.example +++ b/_doc/ncdns.conf.example @@ -11,6 +11,10 @@ ### You may explicitly specify a path to the configuration file on the ### command line by passing '-conf=PATH'. +[service] +### Daemon and fork +## fork=true + [ncdns] ### This is a TOML configuration file. Values must be in quotes where shown. @@ -35,6 +39,9 @@ ### a non-empty capability set, so it precludes use of setcap to bind to privileged ### ports just as it precludes the use of conventional privilege dropping. ### +## its not possible to specify more than one ip, but bind to all with ":53" is possible +## bind="[fd29:68b1:467b:8910:0:0:0:abc1]:53" + #bind="127.0.0.1:53" @@ -52,6 +59,9 @@ ### The password with which to connect to the Namecoin JSON-RPC interface. #namecoinrpcpassword="password" +### Use the username and password encoded in the .cookie file +#namecoinrpccookiepath="/home/YOURUSERNAME/.namecoin/.cookie" + ### ncdns caches values retrieved from Namecoin. This value limits the number of ### items ncdns may store in its cache. The default value is 100. #cachemaxentries=150