Sign inSign up

v2net/doh-proxy

By v2net

•Updated over 5 years ago

Docker image for https://github.com/facebookexperimental/doh-proxy.

Image
0

10K+

v2net/doh-proxy repository overview

⁠DNS Over HTTPS Proxy

By default, this Docker image runs the doh-stub script which listens for DNS queries and forwards them to a DOH server. For more information, see facebookexperimental/doh-proxy⁠.

⁠Example

⁠Start the container.
docker run \
    --detach \
    --publish 53:53/udp \
    --name doh-proxy \
    --restart always \
    v2net/doh-proxy \
        --listen-port 53 \
        --listen-address 0.0.0.0 \
        --domain 1.1.1.1 \
        --remote-address 1.1.1.1
⁠Configure container DNS

Specify the --dns option for containers, or add the "dns" entry to the Docker daemon configuration file /etc/docker/daemon.json:

{
    "dns": [
        "172.17.0.1"
    ]
}
⁠Configure Host DNS

Optionally, configure the host to use the container's DNS service. Be sure to make a backup of the original settings.

⁠Build

docker pull v2net/doh-proxy:build
docker create --name doh-proxy-build v2net/doh-proxy:build
docker cp doh-proxy-build:/root/source/ ./docker-doh-proxy
docker rm doh-proxy-build
docker build --tag v2net/doh-proxy ./docker-doh-proxy/

Tag summary

Content type

Image

Digest

Size

35.8 MB

Last updated

over 5 years ago

docker pull v2net/doh-proxy