Unbound configuration file
mkdir -p /srv/unbound
nano /srv/unbound/unbound.conf
Sample unbound.conf
server:
verbosity: 1
interface: 0.0.0.0
access-control: 0.0.0.0/0 allow
forward-zone:
name: "."
forward-addr: 8.8.4.4
forward-addr: 8.8.8.8
Running container
docker run -d \
-p 53:53/tcp \
-p 53:53/udp \
-v /srv/unbound/:/etc/unbound \
--name unbound \
--restart unless-stopped \
kielby/unbound