tdnf install docker docker-compose systemctl enable docker reboot ps waux | egrep docker mkdir -p /root/containers/unbound cd /root/containers/unbound vi docker-compose.yml cd /root/containers/unbound/ docker-compose up systemctl stop systemd-resolved systemctl disable systemd-resolved.service rm /etc/resolv.conf echo "nameserver 1.1.1.1" > /etc/resolv.conf docker-compose up -d dig @192.168.0.110 www.cnn.com nameserver 192.168.0.110 cd /var/lib/docker/volumes/unbound_unbound_conf/_data/ docker-compose up docker exec -ti unbound /bin/bash sudo unbound-checkconf exit include: /opt/unbound/etc/unbound/a-records.conf include: /opt/unbound/etc/unbound/ptr-records.conf docker inspect caa97f2fe1fe | egrep "Gateway|IPAddress" | egrep 172 docker exec -ti unbound /bin/bash #log into container unbound-control-setup docker restart caa97f2fe1fe dig @192.168.0.110 time.hanscees.com sudo apt-get install unbound sudo systemctl stop unbound.service sudo systemctl disable unbound.service sudo scp root@192.168.0.110:/var/lib/docker/volumes/unbound_unbound_conf/_data/unbound_control.key ~/keys/ sudo scp root@192.168.0.110:/var/lib/docker/volumes/unbound_unbound_conf/_data/unbound_server.pem ~/keys/ sudo unbound-control -c ~/keys/unbound.conf -s 192.168.0.112@953 set_option extended-statistics: yes sudo unbound-control -c ~/keys/unbound.conf -s 192.168.0.112@953 stats_noreset | egrep "total.num|secure"