|
@@ -5,16 +5,6 @@ RUN apk add --no-cache --update \
|
|
|
|
|
|
EXPOSE 53/udp
|
|
|
|
|
|
-COPY ddns.key /etc/bind/ddns.key
|
|
|
-COPY db.0 /etc/bind/db.0
|
|
|
-COPY db.127 /etc/bind/db.127
|
|
|
-COPY db.255 /etc/bind/db.255
|
|
|
-COPY db.empty /etc/bind/db.empty
|
|
|
-COPY db.local /etc/bind/db.local
|
|
|
-COPY db.root /etc/bind/db.root
|
|
|
-COPY named.conf.default-zones /etc/bind/named.conf.default-zones
|
|
|
-COPY zones.rfc1918 /etc/bind/zones.rfc1918
|
|
|
-
|
|
|
-VOLUME ["/etc/bind/zones"]
|
|
|
+VOLUME ["/etc/bind/zones", "/etc/bind/keys", "/etc/bind/scripts"]
|
|
|
|
|
|
CMD /usr/sbin/named -g -u named -d 11
|