mirror of
https://github.com/pcvolkmer/docker-wireguard-boringtun.git
synced 2025-07-01 15:22:55 +00:00
Use dnsmasq and configure dns server config for clients
This will add a DNS config to the client configurations pointing to the wireguard server. With this configuration, all DNS requests are sent through the VPN and are no longer answered by the local DNS server. Each client now has a hostname like <device>-client<id>.
This commit is contained in:
@ -13,7 +13,7 @@ ENV WG_LOG_LEVEL info
|
||||
ENV WG_LOG_FILE /var/log/boringtun
|
||||
ENV WG_SUDO 1
|
||||
|
||||
RUN apk --update add iproute2 wireguard-tools-wg-quick libqrencode
|
||||
RUN apk --update add iproute2 wireguard-tools-wg-quick libqrencode dnsmasq
|
||||
|
||||
WORKDIR /scripts
|
||||
|
||||
|
Reference in New Issue
Block a user