Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #723

Re: vpnc and resolv.conf

From buck <buck@private.mil>
Newsgroups comp.os.linux.networking
Subject Re: vpnc and resolv.conf
Date 2011-10-25 15:32 +0000
Organization Say What?
Message-ID <j86kpg01ikr@news3.newsguy.com> (permalink)
References <1479b035-b3c2-43d7-98b7-0c9089d5a644@s14g2000vbj.googlegroups.com> <j8421l$5ov$1@dk3uz.ampr.org> <55a02bf0-f9f5-4308-9dd9-4f2679a2b599@v28g2000vby.googlegroups.com>

Show all headers | View raw


blueparty <partner50449476@vansoftcorp.com> wrote in news:55a02bf0-f9f5-
4308-9dd9-4f2679a2b599@v28g2000vby.googlegroups.com:

>> "DNSUpdate no" in /etc/vpnc/default.conf did the trick.
>>
> 
> That parameter does not exist in my version of vpnc. From Google I can
> see that it stopped working in older versions, while it was still
> present. Interesting, program totally ignores file permissions. I
> tried to make resolv.conf unwritable, but, since vpnc must be run with
> root privileges, it simply overrides that. That's strange, because
> most source codes I examined checked if the file was writable in the
> same time when the checked if the file exists.

Make the resolv.conf you wish to preserve immutable.  man chattr
--
buck

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

vpnc and resolv.conf blueparty <partner50449476@vansoftcorp.com> - 2011-10-23 20:46 -0700
  Re: vpnc and resolv.conf dk3uz@arrl.net (Edmund H. Ramm) - 2011-10-24 15:59 +0000
    Re: vpnc and resolv.conf blueparty <partner50449476@vansoftcorp.com> - 2011-10-25 06:51 -0700
      Re: vpnc and resolv.conf Chris Davies <chris-usenet@roaima.co.uk> - 2011-10-25 15:50 +0100
      Re: vpnc and resolv.conf buck <buck@private.mil> - 2011-10-25 15:32 +0000
      Re: vpnc and resolv.conf dk3uz@arrl.net (Edmund H. Ramm) - 2011-10-25 18:56 +0000

csiph-web