Files
dnsproxy/docker
Maksim Kazantsev 46a7d36c08 Pull request #433: upd-go
Merge in GO/dnsproxy from upd-go to master

Squashed commit of the following:

commit 3f08b467a73330099c594c38cdb1a4c752de2137
Author: Maksim Kazantsev <[email protected]>
Date:   Tue May 19 18:14:58 2026 +0300

    all: upd go;
2026-05-19 15:37:47 +00:00
..
2026-05-19 15:37:47 +00:00
2023-07-26 19:54:14 +03:00

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