The openvpn failure is actually a symptom of a larger problem which can
affect *any* DNS server ( ie. not just servers associated with a VPN )
that includes a domain. The updated gdbus patch mentioned in the
previous comment adds the DBus parameters to the dnsmasq SetServersEx
method in the wrong order when a domain is specified, domains are
actually supposed to come *after* the IP address of a nameserver:
+static void
+add_dnsmasq_nameserver (NMDnsDnsmasq *self,
+ GVariantBuilder *servers,
+ const char *ip,
+ const char *domain)
+{
+ g_return_if_fail (ip);
+
+ _LOGD ("adding nameserver '%s' for domain '%s'",
+ ip, domain);
+
+ g_variant_builder_open (servers, G_VARIANT_TYPE ("as"));
+
+ if (domain)
+ g_variant_builder_add (servers, "s", domain);
+ g_variant_builder_add (servers, "s", ip);
+
+ g_variant_builder_close (servers);
+}
Fixing is just a matter of moving the "if (domain)" statement to after
the g_variant_build_add call for the servers.
See the following page for a description of the dnsmasq DBus interface:
http://www.thekelleys.org.uk/dnsmasq/docs/DBus-interface
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1552424
Title:
[FFE] NetworkManager 1.2-beta
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1552424/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs