#docker for blackhole & hostd github找的一个dns工具,可以方便的修改仅对自己生效的域名解析 见:https://github.com/code4craft/blackhole 如有侵权,请联系:[email protected] 。
#使用 docker run -d -p 53:53 -p 53:53/udp -p 80:80 zhengguang/dns
Ubuntu下默认开启了dnsmasq,如果启动时提示53端口被占用,可以查看dnsmasq是否已开启
ps -ef | grep dnsmasq
#dockerfile see https://github.com/zzglfh/blackhole/tree/master/dns
Content type
Image
Digest
sha256:8ae2c893a…
Size
265.9 MB
Last updated
almost 11 years ago
docker pull zhengguang/dns