REL-0.10 Adding ability to use custom DNS resolver

This commit is contained in:
cytopia 2017-05-24 09:31:03 +02:00
parent 5d556fc310
commit c18c1d66a9
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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