Re: updates resolv.conf

Charlie Brady <[email protected]> Tue, 7 May 2013 09:08:27 -0400
Newsgroups gmane.network.poptop
Message-ID <CAPvOGzaj_KsERUq38DB=sBw5zPygXxk=MZoiB3ExOqdMkpn+cQ@mail.gmail.com>
You haven't said what distribution you are running. That would be
relevant.  My guess is Fedora or CentOS.

You should look in /etc/sysconfig/network-scripts/ifdown-post, and
probably in the matching ifup script as well.

Check /etc/sysconfig/network-scripts/ifcfg-pppp* - look for PEERDNS
and RESOLV_MODS.

On Tue, May 7, 2013 at 8:34 AM, Khapare Joshi <[email protected]> wrote:
> I have been running pptp + radius server over a year now. It was running
> very well. However I had an issue with all of sudden pptp servers
> /etc/resolve.conf has been updated. I know if you have network manager
> installed and running - sometime this makes behaviour like updating the
> resolv.conf however in my case I have not installed the network Manager.
>
> Then I see in the log stating :
>
> April 29 13:20:04:21 myvpn pptpd[14418]: CTRL: Client 31.209.204.29 control
> connection finished
> April 29 13:20:06:38 myvpn radiusd[14951]:  ... adding new socket command
> file /var/run/radiusd/radiusd.sock
> April 29 13:20:06:38 myvpn radiusd[14951]:  ... closing socket command file
> /var/run/radiusd/radiusd.sock
> April 29 13:20:06:38 myvpn radiusd[14951]:  ... adding new socket command
> file /var/run/radiusd/radiusd.sock
> April 29 13:20:06:38 myvpn radiusd[14951]:  ... closing socket command file
> /var/run/radiusd/radiusd.sock
> April 29 13:20:06:43 myvpn radiusd[14951]:  ... adding new socket command
> file /var/run/radiusd/radiusd.sock
> April 29 13:20:06:43 myvpn radiusd[14951]:  ... closing socket command file
> /var/run/radiusd/radiusd.sock
> April 29 13:20:06:46 myvpn NET[16172]:
> /etc/sysconfig/network-scripts/ifdown-post : updated /etc/resolv.conf
> April 29 13:20:06:56 myvpn pptpd[16177]: CTRL: Client 217.151.166.49 control
> connection started
>
> Any of you having similar issue ?? any help would be appericiate.
>
> K
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Poptop-server mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/poptop-server
>

-- 
This e-mail (including any attachments) is for the sole use of the intended 
recipient(s) and may contain information that is confidential and/or 
protected by legal privilege. Any unauthorized review, use, copy, 
disclosure or distribution of this e-mail is strictly prohibited. If you 
are not the intended recipient, please notify Mitel immediately and destroy 
all copies of this e-mail.  Mitel does not accept any liability for breach 
of security, error or virus that may result from the transmission of this 
message.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may