From c18c1d66a9b98c92d7a69942cf41c29fe7f5a1d6 Mon Sep 17 00:00:00 2001 From: cytopia Date: Wed, 24 May 2017 09:31:03 +0200 Subject: [PATCH] REL-0.10 Adding ability to use custom DNS resolver --- docker-compose.yml | 5 ++++- env-example | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index d6b61af9..48947926 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,12 +31,14 @@ services: # Bind (DNS Server) # ---------------------------------------- bind: - image: cytopia/bind:latest + #image: cytopia/bind:latest + image: cytopia/bind:release-0.10 restart: always ports: # [local-machine:]local-port:docker-port - "${LOCAL_LISTEN_ADDR}${HOST_PORT_BIND}:53" - "${LOCAL_LISTEN_ADDR}${HOST_PORT_BIND}/udp:53/udp" + environment: ## ## Debug? @@ -48,6 +50,7 @@ services: ## - WILDCARD_DOMAIN=${TLD_SUFFIX:-loc} - WILDCARD_ADDRESS=172.16.238.11 + - BIND_DNS_RESOLVER=${BIND_DNS_RESOLVER:-8.8.8.8,8.8.4.4} dns: - 127.0.0.1 diff --git a/env-example b/env-example index bfe2771b..ac2adef1 100644 --- a/env-example +++ b/env-example @@ -401,3 +401,9 @@ HOST_PORT_MONGO=27017 ### Expose Bind Port to Host ### HOST_PORT_BIND=53 + +### +### Add comma separated DNS server from which you want to receive DNS +### You can also add DNS servers from your LAN (if any are available) +### +BIND_DNS_RESOLVER=8.8.8.8,8.8.4.4