Package: vpnc
Version: 0.5.3r550-
Severity: important

Dear Maintainer,

  $ nslookup google.com
  nslookup: parse of /etc/resolv.conf failed

These are the contents of resolv.conf: 

  # Generated by resolvconf
  domain example.local example.com
  search example.local example.com
  nameserver 172.16.1.115
  nameserver 192.168.1.114
  nameserver 192.168.2.200
  nameserver 192.168.32.241

The parsing seems to break on the "domain" line. Seems that vpnc is using the
domain names as the default one. This is incorrect when more than one domain is
configured. 

If I edit resolv.conf like this:

  # Generated by resolvconf 
  domain example.local 
  search example.local example.com
  nameserver 172.16.1.115
  nameserver 192.168.1.114
  nameserver 192.168.2.200
  nameserver 192.168.32.241 
  nslookup: parse of /etc/resolv.conf failed

Then name resolution works again. 

I would suggest that vpnc refrains from setting the default domain. AFAIK 
setting the "search" domains is enough in most if not all cases.


-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
Architecture: armv7l

Kernel: Linux 4.1.7-v7+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vpnc depends on:
ii  dpkg               1.17.25
ii  libc6              2.19-18+deb8u1
ii  libgcrypt20        1.6.3-2
ii  libgnutls-deb0-28  3.3.8-6+deb8u3
ii  perl               5.20.2-3+deb8u1
ii  vpnc-scripts       0.1~git20140806-1

Versions of packages vpnc recommends:
ii  iproute  1:3.16.0-2

Versions of packages vpnc suggests:
ii  openresolv [resolvconf]  3.5.2-1

-- Configuration Files:
/etc/vpnc/default.conf [Errno 13] Permiso denegado: u'/etc/vpnc/default.conf'

-- no debconf information

Reply via email to