mirror of
https://github.com/casjaysdevdocker/bind
synced 2024-11-22 11:23:09 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/tmp/etc/bind/named.conf rootfs/usr/local/etc/docker/init.d/00-named.sh
This commit is contained in:
parent
38e2ffa059
commit
a28c3d2ed2
@ -48,7 +48,7 @@ options {
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
# named logging options
|
# named logging options
|
||||||
logging {
|
logging {
|
||||||
channel debug { file "REPLACE_LOG_DIR/debug.info" versions 0 size 5m; severity debug; };
|
channel debug { file "REPLACE_LOG_DIR/debug.run" versions 0 size 5m; severity debug; };
|
||||||
channel querylog { file "REPLACE_LOG_DIR/querylog.log" versions 0 size 5m; severity info; print-time yes; };
|
channel querylog { file "REPLACE_LOG_DIR/querylog.log" versions 0 size 5m; severity info; print-time yes; };
|
||||||
channel security { file "REPLACE_LOG_DIR/security.log" versions 0 size 5m; severity dynamic; print-severity yes; print-time yes; };
|
channel security { file "REPLACE_LOG_DIR/security.log" versions 0 size 5m; severity dynamic; print-severity yes; print-time yes; };
|
||||||
channel xfer-in { file "REPLACE_LOG_DIR/xfer.log" versions 0 size 5m; severity info; print-category yes; print-severity yes; print-time yes; };
|
channel xfer-in { file "REPLACE_LOG_DIR/xfer.log" versions 0 size 5m; severity info; print-category yes; print-severity yes; print-time yes; };
|
||||||
|
@ -119,7 +119,7 @@ SERVICE_GID="0" # set the group id
|
|||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# execute command variables - keep single quotes variables will be expanded later
|
# execute command variables - keep single quotes variables will be expanded later
|
||||||
EXEC_CMD_BIN='named' # command to execute
|
EXEC_CMD_BIN='named' # command to execute
|
||||||
EXEC_CMD_ARGS='-f -c $ETC_DIR/named.conf' # command arguments
|
EXEC_CMD_ARGS='-f -g -u $SERVICE_USER -c $ETC_DIR/named.conf' # command arguments
|
||||||
EXEC_PRE_SCRIPT='' # execute script before
|
EXEC_PRE_SCRIPT='' # execute script before
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Is this service a web server
|
# Is this service a web server
|
||||||
@ -250,8 +250,8 @@ __update_conf_files() {
|
|||||||
# custom commands
|
# custom commands
|
||||||
mkdir -p "$CONF_DIR/keys" "$CONF_DIR/secrets"
|
mkdir -p "$CONF_DIR/keys" "$CONF_DIR/secrets"
|
||||||
mkdir -p "$ETC_DIR/keys" "$ETC_DIR/secrets" "$VAR_DIR/primary" "$VAR_DIR/secondary" "$VAR_DIR/stats" "$VAR_DIR/dynamic"
|
mkdir -p "$ETC_DIR/keys" "$ETC_DIR/secrets" "$VAR_DIR/primary" "$VAR_DIR/secondary" "$VAR_DIR/stats" "$VAR_DIR/dynamic"
|
||||||
for logfile in xfer update notify querylog default debug security; do
|
for logfile in debug.run querylog.log security.log xfer.log update.log notify.log client.log default.log general.log database.log; do
|
||||||
touch "$LOG_DIR/$logfile.log"
|
touch "$LOG_DIR/$logfile"
|
||||||
chmod -Rf 777 "$logfile"
|
chmod -Rf 777 "$logfile"
|
||||||
done
|
done
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
Loading…
Reference in New Issue
Block a user