donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python & Vue.js
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.63k stars 248 forks source link

Make default peer DNS setting optional #499

Open guiaume opened 6 days ago

guiaume commented 6 days ago

Is your feature request related to a problem? Please describe. In Settings > Peer Settings, if you have set a DNS, you can't remove it because you will see the error "Field cannot be empty!". But in some cases, you don't want Wireguard to forward the DNS to the client, and it works fine if you never set it there. The problem is that once you set it, you are "stuck"

Describe the solution you'd like Remove the control on the DNS field.

donaldzou commented 5 days ago

Hi! Yes we realized it can be empty. Will fix that ;)