Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Bzzzz <lazyvirus@gmx.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: openresolv dependency
Date: Mon, 22 May 2017 03:34:39 +0200	[thread overview]
Message-ID: <20170522033439.38979b0a@msi.defcon1> (raw)
In-Reply-To: <CAHmME9pntk1UvFscCWsryW8eSCqzL66of0_F=H4KE0bmpZwA+Q@mail.gmail.com>

On Mon, 22 May 2017 03:08:03 +0200
"Jason A. Donenfeld" <Jason@zx2c4.com> wrote:

> On Mon, May 22, 2017 at 3:02 AM, Bzzzz <lazyvirus@gmx.com> wrote:
> 
> > On Mon, 22 May 2017 02:41:13 +0200
> > "Jason A. Donenfeld" <Jason@zx2c4.com> wrote:
> >
> > > https://github.com/EggieCode/wireguard-ppa/issues/19
> >
> > Following your comment, you could flip the resolvconf dependency from
> > a mandatory one to a a recommand or even a suggest, with a few
> > comment lines into the /usr/share/doc/README.Debian file.
> >
> 
> The problem is that I would like to be able to use the -x and -m
> switches of resolvconf, which only openresolv has.

I see, but most of LANs _should_ have a DNS properly configured, and
roadwarriors at least a dnsmasq; as a matter of fact, everything started
to work correctly for me when I forced resolvconf to stop.
[reminder: The head of my LAN, that is my WG entry point, is also the
main DNS server and my laptop is the secondary one.]

If what you mean is avoiding DNS leaking, my suggestion is to have the
LAN DNS into the /etc/resolv.conf of the roadwarrior(s).
This is what's happen when I connect: it is the LAN entry point that
resolves.
Of course, if people do not tunnel their whole traffic through the VPN,
this behavior will be a problem (but only if the client's DNS server/masq
is rendered inoperant by the VPN connection - duno: untested conf.)

> However, it appears
> that openresolv does not work very well out of the box on Ubuntu.

How in soft words these things are said :)
(almost everyone that had to battle against resolvconf had murder
pulsions at least once.)

> So, I'm not quite sure what I can recommend to Ubuntu users as a
> reliable way of setting a per-interface DNS override. Or even what
> command I could put in wg-quick to encapsulate that kind of logic.
> 
> Any ideas?

1- list all possibilities,
2- test  "        "      , or ask people that use each one to see
   which are DNS hampered,
3- write a few lines into the README file to cover all cases,
4- have a rollmops and relax.

ubuntu people must understand that an OS isn't and can't be a
click'o'matic all the time, and that sometimes they have to open
the hood and get some grease on the hands before the engine starts
properly - this is *always* a good thing.

Jean-Yves

  reply	other threads:[~2017-05-22  1:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-21 23:13 Bert Vermeulen
2017-05-21 23:23 ` Bzzzz
2017-05-22  0:41 ` Jason A. Donenfeld
2017-05-22  1:02   ` Bzzzz
2017-05-22  1:08     ` Jason A. Donenfeld
2017-05-22  1:34       ` Bzzzz [this message]
2017-05-22  1:40         ` Jason A. Donenfeld
2017-05-22  2:11           ` Bzzzz
2017-05-30 21:18       ` Jörg Thalheim
2017-05-22 11:02 ` Jason A. Donenfeld
2017-05-22 11:09   ` Bert Vermeulen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170522033439.38979b0a@msi.defcon1 \
    --to=lazyvirus@gmx.com \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).