[Unbound] Fix logging, fixes #585

[Rspamd] Fix permissions of controller password file
[Unbound] Enable unbound-control
This commit is contained in:
André
2018-09-30 14:43:18 +02:00
parent b008211f52
commit cdca603ff5
4 changed files with 16 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ RUN apk add --update --no-cache \
drill \
&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache \
&& chown root:unbound /etc/unbound \
&& adduser unbound tty \
&& chmod 775 /etc/unbound
EXPOSE 53/udp 53/tcp

View File

@@ -1,8 +1,11 @@
#!/bin/bash
echo "Setting console permissions..."
chown root:tty /dev/console
chmod g+rw /dev/console
echo "Receiving anchor key..."
/usr/sbin/unbound-anchor -a /etc/unbound/trusted-key.key
echo "Receiving root hints..."
curl -#o /etc/unbound/root.hints https://www.internic.net/domain/named.cache
/usr/sbin/unbound-control-setup
exec "$@"