Added new BIND_LOG environment variable. By default you still have -g, however you can now override directly with -f for foreground logging. The README also has a detailed section on logging practices. I've also updated the binary version to the latest Alpine image v3.11.3
This commit is contained in:
@@ -3,6 +3,11 @@ EXPOSE 53 53/udp
|
||||
|
||||
RUN apk --update upgrade && apk add bind bind-tools bind-plugins
|
||||
|
||||
# BIND Log Options - you can override at run time
|
||||
# "-g" = (default) Run the server in the foreground and force all logging stderr.
|
||||
# "-f" = Run the server in the foreground
|
||||
env BIND_LOG -g
|
||||
|
||||
# /etc/bind needs to be owned by root, group owned by "bind", and chmod 750
|
||||
# since we are mounting, do it manually
|
||||
# NOTE: Per Dockerfile manual --> need to mkdir the mounted dir to chown
|
||||
|
||||
Reference in New Issue
Block a user