etc/unbound add unbound.conf & unbound-control.conf

copy-pastes from Debian & Arch Wiki, however unbound-control in status
no as I guess it can be a hole most of time.
This commit is contained in:
Aminda Suomalainen 2019-07-22 15:14:11 +03:00
parent 5569a1129c
commit 3b9acff361
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
2 changed files with 27 additions and 0 deletions

2
etc/unbound/unbound.conf Normal file
View File

@ -0,0 +1,2 @@
# This is just Debian default file which I expect
include: "/etc/unbound/unbound.conf.d/*.conf"

View File

@ -0,0 +1,25 @@
# https://wiki.archlinux.org/index.php/Unbound#Setting_up_unbound-control
remote-control:
# Enable remote control with unbound-control(8) here.
# set up the keys and certificates with unbound-control-setup.
control-enable: no
# what interfaces are listened to for remote control.
# give 0.0.0.0 and ::0 to listen to all interfaces.
control-interface: 127.0.0.1
# port number for remote control operations.
control-port: 8953
# unbound server key file.
server-key-file: "/etc/unbound/unbound_server.key"
# unbound server certificate file.
server-cert-file: "/etc/unbound/unbound_server.pem"
# unbound-control key file.
control-key-file: "/etc/unbound/unbound_control.key"
# unbound-control certificate file.
control-cert-file: "/etc/unbound/unbound_control.pem"