← Back to team overview

desktop-packages team mailing list archive

[Bug 898224] Re: Wrong dnsmasq configuration when VPN is set as default gateway

 

This bug was fixed in the package network-manager -
0.9.2.0+git201201101813.0b30200-0ubuntu1

---------------
network-manager (0.9.2.0+git201201101813.0b30200-0ubuntu1) precise; urgency=low

  * New upstream snapshot.
  * debian/libnm-util2.symbols: add new symbols:
    - nm_setting_vpn_get_num_data_items@Base
    - nm_setting_vpn_get_num_secrets@Base
  * debian/patches/dnsmasq-vpn-dns-filtering.patch: filter nameservers before
    adding to dnsmasq to avoid using DNS servers which are unavailable due to
    a VPN taking the default route, or to be considered insecure when a VPN
    is connected. (LP: #898224)
  * debian/NetworkManager.conf: enable the use of DNSMasq as a resolver by
    default, NetworkManager will configure it based on DHCP responses and
    interface settings. See the 'foundations-p-dns-resolving' blueprint.
  * debian/control: move dnsmasq-base from a Recommends to a Depends.
 -- Mathieu Trudel-Lapierre <mathieu-tl@xxxxxxxxxx>   Thu, 12 Jan 2012 11:01:32 +0100

** Changed in: network-manager (Ubuntu)
       Status: In Progress => Fix Released

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

Title:
  Wrong dnsmasq configuration when VPN is set as default gateway

Status in “network-manager” package in Ubuntu:
  Fix Released

Bug description:
  When using dnsmasq with Network Manager (DNS=dnsmasq in the config)
  and a VPN that's not configured as "Use VPN only for resources on its
  network" (default configuration), the dnsmasq configuration ends up
  being wrong.

  I'd have expected the default DNS server to be the one received from
  the VPN connection instead of the one from the current wired/wireless
  network as that one isn't reachable.

  So in a setup where VPN doesn't provide the default gateway, DNS should be: 
   - DNS queries for anything on the VPN network => DNS server from VPN
   - Everything elsse => DNS server from current wired/wireless network

  In a setup where the default gateway is the VPN
   - Everything => DNS server from VPN

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


References