VPN - "Additional DNS servers" Settings are being Ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Manager Applet |
New
|
Undecided
|
Unassigned | ||
NetworkManager-OpenVPN |
New
|
Undecided
|
Unassigned | ||
network-manager-vpnc |
New
|
Undecided
|
Unassigned | ||
network-manager (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
During configuring of a VPN, Network Manager normally allows you to specify additional DNS servers that are located on the virtual private network:
http://
However, in Ubuntu 16.10 the network manager is ignoring the additional DNS that I've specified at the dialog I've linked above.
Normally, after connecting to a VPN (where additional DNS servers are specified), the command (below) will show (in addition to your local DNS servers) the remote DNS servers (located on the VPN):
nmcli dev show | grep DNS
Unfortunately, in Ubuntu 16.10, this is not working. Consequently, I cannot resolve remote computers by their computer-name, which is very inconvenient considering that I have over 100 Remmina connections set to resolve by name. Right now, I have to manually discover the IP addresses of the remote computer-names before connecting to the computers with Remmina.
I've confirm this issue on both OpenVPN and Cisco vpnc connections. The additional DNS server are not making it here:
nmcli dev show | grep DNS
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: network-manager 1.2.4-0ubuntu1
ProcVersionSign
Uname: Linux 4.8.0-22-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Oct 16 09:31:31 2016
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2016-10-13 (2 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-nm:
RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
running 1.2.4 connected started full enabled enabled enabled enabled enabled
description: | updated |
information type: | Public → Private |
information type: | Private → Public |
Changed in network-manager (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → High |
tags: | added: zesty |
Changed in network-manager (Ubuntu): | |
assignee: | Aron Xu (happyaron) → nobody |
I've reproduced this bug on a completely fresh installation of Ubuntu 16.10
Steps:
1) Install these packages: manager- openvpn- gnome network- manager- vpnc-gnome
sudo apt install network-
2) Create an openVPN or cisco-vpnc VPN-Connection and input the remote dns servers of the network you are connecting to here: http:// neartalk. com/ss/ 2016-10- 16_001_ 601x625. png
3) Connect to the VPN
4) Try to ping a computer (on the remote network) by its name:
ping computer-name
(it won't work)
5) Try to find the Additional DNS server you've configured in the VPN:
nmcli dev show | grep DNS
(you won't find them)
In Ubuntu 16.04, you could easily ping by computer-name to computers in remote networks and nmcli would also show additional DNS servers specified in the VPN configuration. In 16.10, this is broken.