Skip to content

Consider to upgrade Docker-Bind to latest version (0.17) #731

Description

@llaville

ISSUE TYPE

  • Feature request

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions