10 lines
242 B
Bash
10 lines
242 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
unbound-control-setup
|
||
|
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 "$@"
|