Hello

I set up Wireguard to connect an Ubuntu machine (client) to a Ubuntu
server. Everything works fine, except that when the VPN is up the DNS on
the client machine is forced to (apparently) the DNS of the host the
Wireguard server is on.

- when the VPN is down, the client machine has its DHCP provided DNS
servers set up
- when the VPN is up, the DNS is changed to the DNS of the VPN server host

How can this behaviour be switched off?

I tried to add a DNS = 127.0.0.1 entry on the client [Interface] definition
(to use a locally available DNS server) but it did not change anything
(after rebooting just in case).
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to