Commit 2fe23d8e authored by Elias Ojala's avatar Elias Ojala
Browse files

Use Docker's DNS as upstream

parent 6861dfb0
version: '2'
services:
dns:
image: secns/unbound
doh:
restart: always
image: quay.io/sheogorath/doh
build:
context: .
environment:
- "UPSTREAM_NAME=dns"
ports:
- "127.0.0.1:8053:8053"
......@@ -33,7 +33,7 @@ path = "/dns-query"
# Upstream DNS resolver
# If multiple servers are specified, a random one will be chosen each time.
upstream = [
$(echo "${UPSTREAM:-1.1.1.1:53|1.0.0.1:53|8.8.8.8:53|8.8.4.4:53}" | sed -e 's/^/"/' -e 's/$/"/' -e 's/|/",\n"/g')
"127.0.0.11:53",
]
# Upstream timeout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment