Bug 1646760 - OpenConnect/vpnc does not set nameservers
Summary: OpenConnect/vpnc does not set nameservers
Keywords:
Status: CLOSED DUPLICATE of bug 1648108
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager-vpnc
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-05 23:17 UTC by Jan Vlug
Modified: 2018-11-24 14:48 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-24 14:48:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
nmcli output when connected to the VPN. (1.04 KB, text/plain)
2018-11-09 07:40 UTC, Jan Vlug
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1648108 0 unspecified CLOSED DNS for the VPN isn't initialized correctly with standard /etc/nsswitch.conf after openconnect 2021-02-22 00:41:40 UTC

Description Jan Vlug 2018-11-05 23:17:46 UTC
When I set up a OpenConnect VPN in Fedora 28 the /etc/resolv.conf is automatically modified to contain the name servers of the VPN.

In Fedora 28, after establishing the VPN connection the /etc/resolv.conf looks like:

#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
# Generated by NetworkManager
nameserver 192.168.a.b
nameserver 192.168.a.c
search my.domain

However in Fedora 29, after establishing the VPN connection the /etc/resolv.cinf looks still like:

# Generated by NetworkManager
nameserver 192.168.d.e

I would expect that the name servers are automatically correctly configured when setting up a VPN.

Comment 1 Beniamino Galvani 2018-11-08 09:12:15 UTC
Can you please show the 'nmcli' output when you are connected to the VPN?

Comment 2 Jan Vlug 2018-11-09 07:40:42 UTC
Created attachment 1503567 [details]
nmcli output when connected to the VPN.

The requested nmcli output when connected to the VPN.

Comment 3 Nikos Mavrogiannopoulos 2018-11-24 14:48:34 UTC

*** This bug has been marked as a duplicate of bug 1648108 ***


Note You need to log in before you can comment on or make changes to this bug.