adding dns resolution to dns server

This commit is contained in:
John Doe 2023-04-27 20:51:54 -04:00
parent cc70abdd60
commit 8594a3b1b9
2 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,7 @@ services:
ipv4_address: 172.20.0.7
volumes:
- "$PWD/unbound/forward-records.conf:/opt/unbound/etc/unbound/forward-records.conf"
- "$PWD/unbound/resolv.conf:/etc/resolv.conf"
healthcheck:
disable: true
restart: always

3
unbound/resolv.conf Normal file
View File

@ -0,0 +1,3 @@
nameserver 127.0.0.1
nameserver 9.9.9.9
nameserver 9.9.9.11