Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Dan George <dgeor8@gmail.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: [wireguard-apple] Reresolving DNS on device wake/network change/interval
Date: Thu, 14 Apr 2022 17:46:33 +1000	[thread overview]
Message-ID: <CAMTegST6Q826cFt8m5wWeFNQGK5tqvVPQSaB8WBO9+7naHfFjQ@mail.gmail.com> (raw)

Hello,

Is there any way when using the macOS WG apps to reresolve DNS for an
endpoint on device wake, a network change event, or at a regular
interval?

Two options I've come across:
- there's a TODO (B.4) to integrate the App Store app with wg(8) which
would potentially allow the use of reresolve-dns.sh (but not yet).
- scutil --nc can bounce the VPN interface in Network Preferences,
which reresolves DNS, but this is disruptive to traffic. Perhaps a
launchd script to run this on device wake/network change would be a
good-enough solution.

Any other options out there?

Thanks,
Dan.

                 reply	other threads:[~2022-04-14  7:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAMTegST6Q826cFt8m5wWeFNQGK5tqvVPQSaB8WBO9+7naHfFjQ@mail.gmail.com \
    --to=dgeor8@gmail.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).