Skip to content

Commit e724cf3

Browse files
committed
update readme
1 parent cb8e6a1 commit e724cf3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ docker create \
7272
-e SERVERURL=wireguard.domain.com `#optional` \
7373
-e SERVERPORT=51820 `#optional` \
7474
-e PEERS=1 `#optional` \
75-
-e PEERDNS=8.8.8.8 `#optional` \
75+
-e PEERDNS=auto `#optional` \
7676
-e INTERNAL_SUBNET=10.13.13.0 `#optional` \
7777
-p 51820:51820/udp \
7878
-v /path/to/appdata/config:/config \
@@ -104,7 +104,7 @@ services:
104104
- SERVERURL=wireguard.domain.com #optional
105105
- SERVERPORT=51820 #optional
106106
- PEERS=1 #optional
107-
- PEERDNS=8.8.8.8 #optional
107+
- PEERDNS=auto #optional
108108
- INTERNAL_SUBNET=10.13.13.0 #optional
109109
volumes:
110110
- /path/to/appdata/config:/config
@@ -129,7 +129,7 @@ Container images are configured using parameters passed at runtime (such as thos
129129
| `-e SERVERURL=wireguard.domain.com` | External IP or domain name for docker host. Used in server mode. If set to `auto`, the container will try to determine and set the external IP automatically |
130130
| `-e SERVERPORT=51820` | External port for docker host. Used in server mode. |
131131
| `-e PEERS=1` | Number of peers to create confs for. Required for server mode. |
132-
| `-e PEERDNS=8.8.8.8` | DNS server set in peer/client configs. Used in server mode. |
132+
| `-e PEERDNS=auto` | DNS server set in peer/client configs (can be set as `8.8.8.8`). Used in server mode. Defaults to `auto`, which uses wireguard docker host's DNS via included CoreDNS forward. |
133133
| `-e INTERNAL_SUBNET=10.13.13.0` | Internal subnet for the wireguard and server and peers (only change if it clashes). Used in server mode. |
134134
| `-v /config` | Contains all relevant configuration files. |
135135
| `-v /lib/modules` | Maps host's modules folder. |
@@ -257,7 +257,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
257257

258258
## Versions
259259

260-
* **08.04.20:** - Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops).
260+
* **08.04.20:** - Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS for `PEERDNS=auto` setting. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops).
261261
* **05.04.20:** - Add `INTERNAL_SUBNET` variable to prevent subnet clashes. Add templates for server and peer confs.
262262
* **01.04.20:** - Add `show-peer` script and include info on host installed headers.
263263
* **31.03.20:** - Initial Release.

0 commit comments

Comments
 (0)