mailcow/data/Dockerfiles/unbound/docker-entrypoint.sh
2017-06-18 20:23:26 +02:00

9 lines
220 B
Bash
Executable File

#!/bin/bash
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
exec "$@"