mirror of
https://github.com/cytopia/devilbox.git
synced 2025-04-08 03:24:15 +00:00
REL-0.10 Adding ability to use custom DNS resolver
This commit is contained in:
parent
5d556fc310
commit
c18c1d66a9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user