Sign inSign up

initdc/dnsproxy

By initdc

Updated over 4 years ago

AdguardTeam/dnsproxy - Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support

Image
1

5.1K

initdc/dnsproxy repository overview

AdguardTeam/dnsproxy

Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support

Run

docker run --name dnsproxy -d -p 153:53/udp -p 853:853 -p 443:443 initdc/dnsproxy

or set args your self

docker run -p 153:53/udp -it initdc/dnsproxy sh

Test

  • linux

    dig mirr.one @127.0.0.1 -p 153

Prepare to build

change buildx DRIVER from docker to [ docker-container or kubernetes ]

docker buildx create --name mycontext1 --driver docker-container --use --bootstrap

# or
docker buildx create --name mycontext1 --driver kubernetes --use --bootstrap

refs:

Build

  1. local

    docker buildx build -t dnsproxy:amd64 . --load

    docker buildx build --platform linux/arm64 -t dnsproxy:arm64 . --load

    -t for local tag: name:arch

  2. for pushing

    docker buildx build --platform linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 -t initdc/cloudflared:v$(TZ=Asia/Shanghai date +%Y.%m.%d) . --push

    latest -> v$(TZ=Asia/Shanghai date +%Y.%m.%d)

    replace initdc with your docker registry user name.

    check full list with docker buildx ls

Refs

Tag summary

Content type

Image

Digest

Size

6.3 MB

Last updated

over 4 years ago

docker pull initdc/dnsproxy