@ -11,7 +11,11 @@ RUN \
|
||||
apk upgrade --no-cache; \
|
||||
apk add --no-cache \
|
||||
bind==${VERSION_BIND} \
|
||||
supervisor;
|
||||
supervisor; \
|
||||
rm -f \
|
||||
/etc/bind/named.conf.authoritative \
|
||||
/etc/bind/named.conf.recursive \
|
||||
/etc/bind/rndc.key;
|
||||
|
||||
|
||||
EXPOSE \
|
||||
@ -33,3 +37,4 @@ RUN \
|
||||
|
||||
|
||||
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf" ]
|
||||
# CMD ["named", "-c", "/etc/bind/named.conf", "-g", "-u", "named"]
|
||||
|
@ -6,9 +6,7 @@ options {
|
||||
listen-on { 127.0.0.1; };
|
||||
listen-on-v6 { none; };
|
||||
|
||||
allow-transfer {
|
||||
none;
|
||||
};
|
||||
allow-transfer { none; };
|
||||
|
||||
|
||||
pid-file "/var/run/named/named.pid";
|
||||
|
@ -1,7 +1,7 @@
|
||||
[program:bind]
|
||||
startsecs=0
|
||||
stopwaitsecs=55
|
||||
command=/usr/sbin/named -f
|
||||
command=/usr/sbin/named -4 -f -c /etc/bind/named.conf -L /var/log/named.log
|
||||
autorestart=true
|
||||
autostart=true
|
||||
stdout_logfile=/var/log/supervisor_%(program_name)s.log
|
||||
|
Reference in New Issue
Block a user