Development discussion of WireGuard
 help / color / mirror / Atom feed
* [wireguard-apple] Reresolving DNS on device wake/network change/interval
@ 2022-04-14  7:46 Dan George
  0 siblings, 0 replies; only message in thread
From: Dan George @ 2022-04-14  7:46 UTC (permalink / raw)
  To: WireGuard mailing list

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.

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

only message in thread, other threads:[~2022-04-14  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14  7:46 [wireguard-apple] Reresolving DNS on device wake/network change/interval Dan George

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