subspacecommunity / subspace

A fork of the simple WireGuard VPN server GUI community maintained

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Idea: custom DNS entries in the wg0.conf output; instead of the dnsmasq-forwarded DNS?

unquietwiki opened this issue · comments

DNS = {{if .Ipv4Enabled}}{{$.IPv4Gw}}{{end}}{{if .Ipv6Enabled}}{{if .Ipv4Enabled}},{{end}}{{$.IPv6Gw}}{{end}}

I found the line in the code wherein templated DNS entries go, if DNS is permitted. Rather than relying on the dnsmasq install; what if we wanted DNS to point to SAMBA/AD servers? I feel like a new template variable could be added, that would override the ones here?

👍 for this. This would also enable setting up search domains in the WG config.