1 Star 0 Fork 1

xxx/docker-unbound

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 760 Bytes
一键复制 编辑 原始数据 按行查看 历史
ENDOH takanao 提交于 2014-09-07 16:37 . unbound for moorage
FROM michilu/fedora-zero
RUN yum install -y \
unbound \
&& yum clean all
RUN sed -i -e "s/# interface: 0.0.0.0/interface: 0.0.0.0/" /etc/unbound/unbound.conf
RUN sed -i -e "s/# do-daemonize: yes/do-daemonize: no/" /etc/unbound/unbound.conf
EXPOSE 53/udp
ENV MOORAGE_SERVER_NAME moorage
ENV MOORAGE_SERVER_IP 192.168.59.103
ENV UNBOUND_ACCESS_CONTROL 192.168.0.0/16
CMD \
unbound-control-setup ;\
echo local-zone: \"$MOORAGE_SERVER_NAME\" redirect >> /etc/unbound/local.d/#MOORAGE_SERVER_NAME.conf ;\
echo local-data: \"$MOORAGE_SERVER_NAME. IN A $MOORAGE_SERVER_IP\" >> /etc/unbound/local.d/$MOORAGE_SERVER_NAME.conf ;\
echo access-control: $UNBOUND_ACCESS_CONTROL allow >> /etc/unbound/local.d/$MOORAGE_SERVER_NAME.conf ;\
unbound-control start
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhaodan/docker-unbound.git
git@gitee.com:zhaodan/docker-unbound.git
zhaodan
docker-unbound
docker-unbound
master

搜索帮助