aports/main/nsd/config.patch

22 lines
710 B
Diff
Raw Normal View History

2019-12-01 18:13:44 +01:00
--- a/nsd.conf.sample.in
+++ b/nsd.conf.sample.in
2021-04-06 16:23:57 +02:00
@@ -264,7 +264,9 @@
2019-12-01 18:13:44 +01:00
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.
2021-04-06 16:23:57 +02:00
# interfaces can be specified by IP address or interface name.
@@ -275,6 +277,7 @@
2019-12-01 18:13:44 +01:00
# control-interface: 127.0.0.1
# control-interface: ::1
2021-04-06 16:23:57 +02:00
# control-interface: lo
+ control-interface: /run/nsd.control.sock
2019-12-01 18:13:44 +01:00
2021-04-06 16:23:57 +02:00
# port number for remote control operations (uses TLS over TCP).
# control-port: 8952