mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 05:48:42 +00:00
add nextdns
This commit is contained in:
parent
5899d9f23b
commit
77ebc51000
@ -303,6 +303,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] dnsmasq
|
- [x] dnsmasq
|
||||||
- [x] dnsmasq-arm
|
- [x] dnsmasq-arm
|
||||||
- [x] ftldns
|
- [x] ftldns
|
||||||
|
- [x] nextdns
|
||||||
- [x] passivedns
|
- [x] passivedns
|
||||||
- [x] pdnsd
|
- [x] pdnsd
|
||||||
|
|
||||||
|
22
nextdns/Dockerfile
Normal file
22
nextdns/Dockerfile
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for nextdns
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine:3
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
ARG NEXTDNS_VERSION=1.41.0
|
||||||
|
ARG NEXTDNS_OS_ARCH=linux_amd64
|
||||||
|
ARG NEXTDNS_FILE=nextdns_${NEXTDNS_VERSION}_${NEXTDNS_OS_ARCH}.tar.gz
|
||||||
|
ARG NEXTDNS_URL=https://github.com/nextdns/nextdns/releases/download/v${NEXTDNS_VERSION}/${NEXTDNS_FILE}
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache curl \
|
||||||
|
&& curl -sSL ${NEXTDNS_URL} | tar xz nextdns -C /usr/local/bin \
|
||||||
|
&& nextdns version \
|
||||||
|
&& apk del curl
|
||||||
|
|
||||||
|
EXPOSE 53/tcp 53/tcp
|
||||||
|
|
||||||
|
ENTRYPOINT ["nextdns"]
|
||||||
|
CMD ["run", "-listen", ":53"]
|
7
nextdns/README.md
Normal file
7
nextdns/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
nextdns
|
||||||
|
=======
|
||||||
|
|
||||||
|
[NextDNS][1] CLI is a command-line tool that allows you to use NextDNS's
|
||||||
|
DNS-over-HTTPS (DoH) service with advanced capabilities.
|
||||||
|
|
||||||
|
[1]: https://github.com/nextdns/nextdns
|
12
nextdns/docker-compose.yml
Normal file
12
nextdns/docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
nextdns:
|
||||||
|
image: vimagick/nextdns
|
||||||
|
command: >
|
||||||
|
run
|
||||||
|
-listen :53
|
||||||
|
-log-queries
|
||||||
|
ports:
|
||||||
|
- "5300:53/tcp"
|
||||||
|
- "5300:53/udp"
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user