vpnc Not Adding Internal DNS Servers to resolv.conf

Posted by AJ on Super User See other posts from Super User or by AJ
Published on 2010-02-05T17:59:26Z Indexed on 2010/04/08 18:33 UTC
Read the original article Hit count: 901

Filed under:
|
|
|

I'm trying to setup vpnc on Ubuntu. When I run vpnc, my resolv.conf file does not get changed. It still only contains my ISP's name servers:

#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
nameserver 65.32.5.111
nameserver 65.32.5.112

Here is my /etc/network/interfaces:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
        address 192.168.1.3
        netmask 255.255.255.0
        gateway 192.168.1.1
        dns-nameservers 65.32.5.111 65.32.5.112

Any tips on how to troubleshoot/resolve this?

Thanks in advance.

© Super User or respective owner

Related posts about ubuntu-9.10

Related posts about vpnc