]> git.ipfire.org Git - thirdparty/openvpn.git/commit
mac dns: compare servers before restoring backup
authorHeiko Hund <heiko@ist.eigentlich.net>
Fri, 11 Jul 2025 15:23:09 +0000 (17:23 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 15 Jul 2025 13:59:34 +0000 (15:59 +0200)
commitc1f44ea8a24754139beee8758c15657fe367cbb0
treec29f98fd59c38746e0065d01d7003cb701aac9fc
parent5f34a7a0362ac228787b6d9d0968318132c78276
mac dns: compare servers before restoring backup

In case anything changed the global DNS server addresses, while the
tunnel was connected, do not restore the backup of the global DNS
configuration we made when connecting. Doing so would likely change
DNS to something unexpected. Instead just clear the backup and leave
a message in the log.

Change-Id: I1aabd62e60dd18408a57baccbb0f4ebd6d2f8d67
Signed-off-by: Heiko Hund <heiko@ist.eigentlich.net>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20250711152309.286177-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32110.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
distro/dns-scripts/macos-dns-updown.sh