mirror of
https://github.com/AdguardTeam/dnsproxy.git
synced 2026-10-12 02:01:26 +00:00
Merge in GO/dnsproxy from ADG-11715-all-update-skel to master Squashed commit of the following: commit db7d0c902079aab3da3dfa1c0103e2dc41c8e685 Author: Maksim Kazantsev <[email protected]> Date: Wed Mar 18 15:43:13 2026 +0300 all: bump makefile and dockerfile version; commit 44b5b77d19f378e7a25121fa533ccd0645a84e7a Author: Maksim Kazantsev <[email protected]> Date: Fri Mar 13 18:13:17 2026 +0300 all: upd deps; commit 4d0892481ac497c7f9afba118ef79fa34a3ceaf2 Author: Maksim Kazantsev <[email protected]> Date: Fri Mar 13 18:10:22 2026 +0300 all: upd go version; upd deps; impl hooks; upd scripts; upd dockerfile, makefile;
DNS Proxy
A simple DNS proxy server that supports all existing DNS protocols including
DNS-over-TLS, DNS-over-HTTPS, DNSCrypt, and DNS-over-QUIC. Moreover,
it can work as a DNS-over-HTTPS, DNS-over-TLS or DNS-over-QUIC server.
Learn more about dnsproxy and its full capabilities in its Github repo.
Quick start
Pull the Docker image
This command will pull the latest stable version:
docker pull adguard/dnsproxy
Run the container
Run the container with the default configuration (see config.yaml.dist in the
repository) and expose DNS ports.
docker run --name dnsproxy \
-p 53:53/tcp -p 53:53/udp \
adguard/dnsproxy
Run the container with command-line args configuration and expose DNS ports.
docker run --name dnsproxy_google_dns \
-p 53:53/tcp -p 53:53/udp \
adguard/dnsproxy \
-u 8.8.8.8:53
Run the container with a configuration file and expose DNS ports.
docker run --name dnsproxy_google_dns \
-p 53:53/tcp -p 53:53/udp \
-v $PWD/config.yaml:/opt/dnsproxy/config.yaml \
adguard/dnsproxy