adrianmihalko / raspberrypiwireguard

Install and configure WireGuard on Raspberry Pi (and others)
841 stars 76 forks source link

Adding DNS field in client.conf.tpl #34

Open dietpiuser opened 4 years ago

dietpiuser commented 4 years ago

Hi, Is it possible to add the DNS field in the client.conf.tpl so a DNS server can be specified in it.

This way when the config is imported on clients, the DNS field is populated.

By default, wireguard does not force clients to use the DNS server defined on the wireguard server so it has to be manually defined for each client on the wireguard client app.