docker-dnscache/Dockerfile

14 lines
336 B
Docker
Raw Permalink Normal View History

2024-03-28 09:26:52 +00:00
FROM alpine:latest
RUN \
2024-04-29 19:19:08 +00:00
apk --update upgrade && \
apk add unbound bind-tools && \
2024-03-28 09:26:52 +00:00
wget -O /etc/unbound/named.cache ftp://ftp.internic.net//domain/named.cache
COPY rootfs /
HEALTHCHECK --interval=30s --start-period=5s --timeout=10s \
CMD /usr/bin/host -T -p 1053 asperti.com 127.0.0.1
ENTRYPOINT ["/usr/sbin/unbound", "-d"]