Split DNS does not work (openconnect)

Bug #1343036 reported by Sasa Vilic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Split DNS seems not to be working with openconnect and network-manager.

Diagnostic that I have performed:
1. I replaced /usr/lib/NetworkManager/nm-openconnect-service-openconnect-helper with wrapper script and confirmed that enviroment variable CISCO_SPLIT_DNS is correct.
2. I captured a log from dbus (see attachment) and it seems that plugin is sending all data atleast, but
3. Network manager sends wrong configuration to dnsmasq (see attachment).

Plugins sends split dns _domains_ as part of first dbus message (member=Config).
Then plugins send also second message (ip4 configuration (member=Ip4Config)), which has _domain_ section (corresponds to CISCO_DEF_DOMAIN), *and then only this domain gets used for dns resolution.*
_domains_ from first section are ignored.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: network-manager 0.9.8.8-0ubuntu7
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Jul 17 02:21:58 2014
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2014-01-13 (184 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
IpRoute:
 default via 192.168.0.1 dev eth0 proto static
 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.22 metric 1
 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.10
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
RfKill:

SourcePackage: network-manager
UpgradeStatus: Upgraded to trusty on 2014-04-19 (88 days ago)
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 MY VPN 53f0d048-a041-4a09-8366-eb3671ee02a5 vpn 1405555964 Don 17 Jul 2014 02:12:44 CEST yes no /org/freedesktop/NetworkManager/Settings/2
 Wired connection 1 a1be96d0-6ed7-4181-8b6f-4d4ec12d1be6 802-3-ethernet 1405556521 Don 17 Jul 2014 02:22:01 CEST yes no /org/freedesktop/NetworkManager/Settings/1
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.8 connected enabled enabled enabled enabled disabled

Revision history for this message
Sasa Vilic (sasavilic) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.