← Back to team overview

touch-packages team mailing list archive

[Bug 1343036] [NEW] Split DNS does not work (openconnect)

 

Public bug reported:

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

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Attachment added: "network-manager_dbus.log"
   https://bugs.launchpad.net/bugs/1343036/+attachment/4154391/+files/network-manager_dbus.log

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1343036

Title:
  Split DNS does not work (openconnect)

Status in “network-manager” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1343036/+subscriptions


Follow ups

References