-
-
Notifications
You must be signed in to change notification settings - Fork 667
Closed
Labels
Description
ISSUE TYPE
- Feature request
SUMMARY
While working on Auto DNS feature to try to solve issue #604, I've found that :
- the main
cytopia/bindimage used indocker-compose.ymlstill use an outdated version 0.15 ; see https://github.com/cytopia/devilbox/blob/v1.7.2/docker-compose.yml#L37
I've also noticed that feature that came with version 0.17, has no env variable defined in env-example file
See https://github.com/cytopia/docker-bind#optional-environmental-variables
ALLOW_QUERYALLOW_RECURSION
Goal
-
Raise
cytopia/bindeither to0.17orlatesttag available on docker hub => https://hub.docker.com/r/cytopia/bind/tags -
Defines two new env variables in
env-exampleunder section 10. Bind Docker Settings
BIND_ALLOW_QUERY
BIND_ALLOW_RECURSION
And modify the bind service in docker-compose.yml => https://github.com/cytopia/devilbox/blob/v1.7.2/docker-compose.yml#L36
With version 0.15 I got this output with docker-compose logs bind command
bind_1 | [INFO] Debug level: 2
bind_1 | [INFO] BIND logging: disabled explicitly
bind_1 | [INFO] Using default DNS TTL time: 3600 sec
bind_1 | [INFO] Using default DNS Refresh time: 1200 sec
bind_1 | [INFO] Using default DNS Retry time: 180 sec
bind_1 | [INFO] Using default DNS Expiry time: 1209600 sec
bind_1 | [INFO] Using default DNS Max Cache time: 10800 sec
bind_1 | [INFO] Adding wildcard DNS: *.local -> 127.0.0.1
bind_1 |
bind_1 | zone local/IN: loaded serial 1601309650
bind_1 | OK
bind_1 | [INFO] Not adding any extra hosts
bind_1 | [INFO] DNSSEC Validation: no
bind_1 | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
bind_1 | [INFO] Starting BIND 9.11.3
And with new version 0.17, I got this output
bind_1 | [INFO] Debug level: 2
bind_1 | [INFO] BIND logging: disabled explicitly
bind_1 | [INFO] Using default DNS TTL time: 3600 sec
bind_1 | [INFO] Using default DNS Refresh time: 1200 sec
bind_1 | [INFO] Using default DNS Retry time: 180 sec
bind_1 | [INFO] Using default DNS Expiry time: 1209600 sec
bind_1 | [INFO] Using default DNS Max Cache time: 10800 sec
bind_1 | [INFO] Adding wildcard DNS: *.local -> 127.0.0.1
bind_1 |
bind_1 | zone local/IN: loaded serial 1601405542
bind_1 | OK
bind_1 | [INFO] Not adding any extra hosts
bind_1 | [INFO] $ALLOW_QUERY not set.
bind_1 | [INFO] DNS query rules will not be set
bind_1 | [INFO] $ALLOW_RECURSION not set.
bind_1 | [INFO] DNS recursion rules will not be set
bind_1 | [INFO] DNSSEC Validation: no
bind_1 | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
bind_1 | [INFO] Starting BIND 9.11.5
Reactions are currently unavailable