Development discussion of WireGuard
 help / color / mirror / Atom feed
* wireguard forces its host DNS on clients (?)
@ 2019-05-07 12:36 Wojtek Swiatek
  0 siblings, 0 replies; only message in thread
From: Wojtek Swiatek @ 2019-05-07 12:36 UTC (permalink / raw)
  To: wireguard


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

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).

[-- Attachment #1.2: Type: text/html, Size: 766 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-11 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-07 12:36 wireguard forces its host DNS on clients (?) Wojtek Swiatek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).