aboutsummaryrefslogtreecommitdiffstats
path: root/main/nsd/config.patch
blob: 244f95b755a9990370342151842396effb783d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/nsd.conf.sample.in
+++ b/nsd.conf.sample.in
@@ -79,9 +79,6 @@
 	# facility LOG_DAEMON).  stderr disappears when daemon goes to bg.
 	# logfile: "@logfile@"
 
-	# File to store pid for nsd in.
-	# pidfile: "@pidfile@"
-
 	# The file where secondary zone refresh and expire timeouts are kept.
 	# If you delete this file, all secondary zones are forced to be 
 	# 'refreshing' (as if nsd got a notify).  Set to "" to disable.
@@ -222,11 +219,14 @@
 remote-control:
 	# Enable remote control with nsd-control(8) here.
 	# set up the keys and certificates with nsd-control-setup.
-	# control-enable: no
+	# (This needs to be enabled to use init script's commands reload and
+	# reopen)
+	control-enable: yes
 
 	# what interfaces are listened to for control, default is on localhost.
 	# with an absolute path, a unix local named pipe is used for control
 	# (and key and cert files are not needed, use directory permissions).
+	control-interface: /run/nsd.control.sock
 	# control-interface: 127.0.0.1
 	# control-interface: ::1