From owner-freebsd-hackers Sat Dec 18 6:46:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from w2xo.pgh.pa.us (ipl-229-010.npt-sdsl.stargate.net [208.223.229.10]) by hub.freebsd.org (Postfix) with ESMTP id C457314DBC; Sat, 18 Dec 1999 06:46:38 -0800 (PST) (envelope-from durham@w2xo.pgh.pa.us) Received: from w2xo.pgh.pa.us (shazam.internal [192.168.5.3]) by w2xo.pgh.pa.us (8.9.3/8.9.3) with ESMTP id OAA21639; Sat, 18 Dec 1999 14:46:27 GMT Message-ID: <385B9E43.358F3DC@w2xo.pgh.pa.us> Date: Sat, 18 Dec 1999 09:46:27 -0500 From: Jim Durham Organization: dis- X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Andy Farkas , freebsd hackers , frebsd-questions@FreeBSD.ORG Subject: Re: Resolv.conf question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andy Farkas wrote: > > On Fri, 17 Dec 1999, Jim Durham wrote: > > > The 3.3 Box is a local server on a disconnected LAN talking > > to a "remote" server that spools mail, which is grabbed by > > fetchmail. We are running PPP on-demand to the external > > server via a dial-up to an ISP. However, PPP only holds the > > line up from 8am-8pm and this is happening at 1:59am, coinciding > > with the "periodic daily" scripts from crontab. > > > > Seemed wierd to me.. > > "enable dns" in /etc/ppp/ppp.conf will cause ppp to fiddle with > resolv.conf everytime you connect (8am-8pm). Hello Andy, You were correct. One of the scripts in "periodic/daily" was tickling the tun0: interface, causing ppp to automatically connect to the ISP at 1:59am. Apparently, it was busy enough to stay up and not reconnect on the days when I checked the modification time of the /etc/resolv.conf file, so it fooled me by being 1:59m instead of 8am, when cron fires up the connection. I pulled the "enable dns" line out and all should be well now. It had me puzzled for sure. Thanks to you and all who replied. -- Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message