[Bug 691723] [NEW] OpenVPN Client Ignores DNS

Cerin 691723 at bugs.launchpad.net
Fri Dec 17 21:28:18 GMT 2010


Public bug reported:

Binary package hint: openvpn

The openvpn client does not correctly update /etc/resolv.conf with DNS
data provided by the openvpn server.

The log shows the client is receiving control messages containing valid
DNS.

e.g. Fri Dec 17 16:17:35 2010 PUSH: Received control message:
'PUSH_REPLY,route 10.123.10.0 255.255.255.0,dhcp-option DNS 10.123.10.12
,dhcp-option DOMAIN mydomain.com,route 10.88.0.1,topology net30,ping 10
,ping-restart 120,ifconfig 10.88.0.38 10.88.0.37'

However, I'm unable to resolve any VPN-specific domains until I manually
add the DNS and DOMAIN values to my /etc/resolv.conf. Even then, the
mechanism that normally maintains this file appears to periodically
revert the file to the original values.

I've tried installing both Network-Manager xor Wicd network managers, as
well as resolvconf, but I'm still required to manually edit
/etc/resolv.conf in order to use my VPN.

Openvpn, or some proxy program for openvpn, should update
/etc/resolv.conf with the DNS and DOMAIN received through control
messages. e.g.

domain mydomain.com
search mydomain.com
nameserver 10.123.10.12

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openvpn 2.1.0-1ubuntu1.1
Uname: Linux 2.6.32-020632-generic x86_64
NonfreeKernelModules: wl nvidia
Architecture: amd64
Date: Fri Dec 17 16:15:17 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: openvpn

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.
https://bugs.launchpad.net/bugs/691723

Title:
  OpenVPN Client Ignores DNS



More information about the Ubuntu-server-bugs mailing list