Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support to run dnsproxy server/client in docker #110

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updates the README.md with more relevant comments. I hope it helps
coolquasar committed Nov 23, 2020
commit b020997a106c8a1c1fd7b5a5f56750fdc3f077e2
23 changes: 18 additions & 5 deletions Docker/README.md
Original file line number Diff line number Diff line change
@@ -8,32 +8,45 @@ Default version of docker-compose runs dnsproxy as quic server with upstream 1.1

Functionalities supported by the docker image will be sub-set of the functionalities supported by dnsproxy current code

### To start the dnsproxy as `DNS-over-TLS, `DNS-over-HTTPS` and `DNS-over-QUIC` server
```
# cd dnsproxy/Docker/server
# docker volume create dns_cert_keys
# docker-compose up -d
```

### Following changes required in docker-compose.yml. to start dnsproxy as `DNS-over-HTTPS`
If dnsproxy server creation fails, run this command, and chances are it will be okay
```
# docker-compose up -d --force-recreate
```

### To start the dnsproxy as client, with upstream to Adguard `DNS-over-TLS, `DNS-over-HTTPS` and `DNS-over-QUIC` server
```
# cd dnsproxy/Docker/client
# docker-compose up -d
```

### Following changes required in server/docker-compose.yml. to start dnsproxy as `DNS-over-HTTPS`
```
SRVPORT: "443"
MODE: "server"
PROTO: "https"
```

### Following changes required in docker-compose.yml. to start dnsproxy as `DNS-over-QUIC`
### Following changes required in server/docker-compose.yml. to start dnsproxy as `DNS-over-QUIC`
```
SRVPORT: "784"
MODE: "server"
PROTO: "quic"
```


### Following changes required in docker-compose.yml. to start dnsproxy as `DNS-over-TLS`
### Following changes required in server/docker-compose.yml. to start dnsproxy as `DNS-over-TLS`
```
SRVPORT: "853"
MODE: "server"
PROTO: "tls"
```
### Following changes required in docker-compose.yml. to start dnsproxy as `client`
### Following changes required in client/docker-compose.yml. to start dnsproxy as `client`
```
MODE: "client"
LOCALPORT: "1234" # Any local port number