You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	add nextdns
This commit is contained in:
		| @@ -303,6 +303,7 @@ A collection of delicious docker recipes. | ||||
| - [x] dnsmasq | ||||
| - [x] dnsmasq-arm | ||||
| - [x] ftldns | ||||
| - [x] nextdns | ||||
| - [x] passivedns | ||||
| - [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 | ||||
		Reference in New Issue
	
	Block a user