[Pkg-utopia-maintainers] Bug#745103: Bug#745103: Bug#795023: [network-manager] Bricks DNS when disconnecting from a VPN, separately ignores instruction not to use VPN DNS servers

Michael Biebl biebl at debian.org
Wed Apr 3 14:41:17 BST 2024


Am 03.04.24 um 13:42 schrieb Julian Gilbey:
> On Thu, Aug 20, 2015 at 09:20:10PM +0100, OmegaPhil wrote:
>> Package: network-manager
>> Version: 1.0.4-1
>>
>> I have played around with this some more - the idea with the work VPN
>> connection is not that it takes over everything, but simply that one
>> particular IP address gets routed to it - everything else works as normal.
>>
>> This is why I'm ignoring routes etc, with 'Automatic (VPN) addresses
>> only' used with the intention of not fiddling with the current DNS
>> configuration, which is failing.
>>
>> The workaround is to manually set 'DNS servers' and 'Search domains' to
>> the normal values outside of the VPN, rather than leaving them blank,
>> which Network Manager can't seem to cope with.
> 
> I can confirm that something like this is still happening with
> network-manager 1.46.0-1 (Debian testing machine), when using
> network-manager-strongswan: before switching on the VPN,
> /etc/resolv.conf reads:
> 
> nameserver 192.168.0.1
> nameserver 0.0.0.0

If that is really /etc/resolv.conf verbatim, it means it was not created 
by NetworkManager. Which somehow suggests you use another network 
management tool besides NetworkManager.
A mix and match is not a good idea and as far as I'm concerned, 
unsupportable.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20240403/46943827/attachment-0001.sig>


More information about the Pkg-utopia-maintainers mailing list