mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-25 02:21:58 +01:00
And change the default control-interface to /run/nsd.control.sock, so it doesn't need to prepare the directory. See #11016
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
--- 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
|
|
|