From 8594a3b1b98063c5326f997b2cd5bfa38ee47ff9 Mon Sep 17 00:00:00 2001 From: John Doe Date: Thu, 27 Apr 2023 20:51:54 -0400 Subject: [PATCH] adding dns resolution to dns server --- docker-compose.yaml | 1 + unbound/resolv.conf | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 unbound/resolv.conf diff --git a/docker-compose.yaml b/docker-compose.yaml index d76b80f..6e4d3c5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 diff --git a/unbound/resolv.conf b/unbound/resolv.conf new file mode 100644 index 0000000..450c6e1 --- /dev/null +++ b/unbound/resolv.conf @@ -0,0 +1,3 @@ +nameserver 127.0.0.1 +nameserver 9.9.9.9 +nameserver 9.9.9.11