ISSUE TYPE
SUMMARY
While working on Auto DNS feature to try to solve issue #604, I've found that :
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_QUERY
ALLOW_RECURSION
Goal
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
ISSUE TYPE
SUMMARY
While working on Auto DNS feature to try to solve issue #604, I've found that :
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#L37I've also noticed that feature that came with version 0.17, has no env variable defined in
env-examplefileSee https://github.com/cytopia/docker-bind#optional-environmental-variables
ALLOW_QUERYALLOW_RECURSIONGoal
Raise
cytopia/bindeither to0.17orlatesttag available on docker hub => https://hub.docker.com/r/cytopia/bind/tagsDefines two new env variables in
env-exampleunder section 10. Bind Docker SettingsBIND_ALLOW_QUERYBIND_ALLOW_RECURSIONAnd modify the
bindservice indocker-compose.yml=> https://github.com/cytopia/devilbox/blob/v1.7.2/docker-compose.yml#L36With version 0.15 I got this output with
docker-compose logs bindcommandAnd with new version 0.17, I got this output