[Bug 1046154] Re: Can't resolve OpenVPN DNS while using a 3G connection with resolvconf installed

iox ignacio at ihuerta.net
Thu Sep 6 05:24:49 UTC 2012


Hi Thomas,

Thanks again for your help! I did comment out once "dns=dnsmasq" in 
/etc/NetworkManager/NetworkManager.conf. But I rebooted, tested, it didn't help, 
and I left it the way it was again. I just checked and this is my file:

ignacio at cherokee:~$ cat /etc/NetworkManager/NetworkManager.conf 
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false

I have decided to reproduce the problem again  from scratch: I installed
resolvconf again, rebooted, connected to 3G

1.  This is my /etc/resolv.conf before connecting to the VPN (resolvconf installed):
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 195.81.137.130
nameserver 195.81.155.194
nameserver 127.0.0.1


2. And after connecting to the VPN (resolvconf installed - resolving fails):
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 195.81.137.130
nameserver 195.81.155.194
nameserver 127.0.0.1
search dummy.intranet

3.  This is my /etc/resolv.conf before connecting to the VPN (resolvconf uninstalled):
# Generated by NetworkManager
nameserver 127.0.0.1

4. And after connecting to the VPN (resolvconf uninstalled - resolving works):
# Generated by NetworkManager
domain ecotec.intranet
search ecotec.intranet
nameserver 127.0.0.1

Oh, this is not nice: I am getting different the same results now. I must have messed up something
last time.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1046154

Title:
  Can't resolve OpenVPN DNS while using a 3G connection with resolvconf
  installed

Status in “resolvconf” package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu version: fresh install of Ubuntu 12.04.1 LTS 64 bits (3.2.0-29-generic)
  Resolvconf package version: 1.63ubuntu15

  What I expected to happen: Connect through 3G (bluetooth DUN), connect
  to a OpenVPN and be able to resolve the internal domain names to
  access some servers.

  What happened instead: I can't resolve internal hostnames.

  Additional information: It only breaks when connecting through 3G.
  When connecting through Wifi/Cable it works perfectly.

  Workaround: Uninstalling the package resolvconf seems to solve the
  problem.

  Other users probably affected:
  http://mobilesociety.typepad.com/mobile_life/2012/07/ubuntu-1204-the-
  network-manager-3g-internet-and-vpn.html

  I've looked at other bug reports and tried other solutions:
  * #922578.  Removing "resolvconf" is a workaround that works, but I imagine this is resolvconf bug and there must be a more elegant solution.
  * #994575. This looks related, but I already have the patched version and it didn't help.
  * #924013. I have already checked that my OpenVPN servers are pushing the right information (DNS + DOMAIN) back to the client.

  With resolvconf installed: cat /etc/resolv.conf:
      nameserver 195.81.137.130
      nameserver 195.81.155.194
      nameserver 192.168.163.200
      search dummy.intranet

  With resolvconf uninstalled: cat /etc/resolv.conf
      domain dummy.intranet
      search dummy.intranet
      nameserver 127.0.0.1

  Please tell me if you need any additional information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1046154/+subscriptions




More information about the foundations-bugs mailing list