From owner-freebsd-questions Mon Oct 4 8:26: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id E2D4B156AD for ; Mon, 4 Oct 1999 08:25:52 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id QAA27209; Mon, 4 Oct 1999 16:25:47 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA02841; Mon, 4 Oct 1999 16:26:23 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199910041526.QAA02841@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: tbeaucha@gladstone.uoregon.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp -auto is trigger-happy In-reply-to: Your message of "Tue, 28 Sep 1999 23:47:11 PDT." <19990928234711.C441@agent00ds.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 Oct 1999 16:26:23 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Wed, Sep 29, 1999 at 09:25:48AM +1200, Jonathan Chen wrote: > > On Tue, 28 Sep 1999, Richard Morte wrote: > > > > > Hi, > > > > > > Can anyone help explain why ppp in -auto -alias mode dials out as soon > > > as I click in the location field in Netscape? Do I need to set up IP > > > filtering? Without some sort of filtering or additional configuration I > > > don't seem to be able to browse documents on the local machine without > > > accessing the modem. > > > > Netscape does a DNS lookup the very first chance it gets. This will > > cause a dialout, unless you've blocked DNS from activating a callout. > > > I'm having the same problems. In fact, even starting the enlightenment config program causes ppp -auto to dial up. Same thing when sending mail from within mutt. Even though I have told sendmail to queue messages (sendmail -0 DeliveryMode=d -O HoldExpensive). Actually what it does is dial up, then stick them in the queue without delivering them. I assume that these are also caused because of DNS lookups. > > > So anyway, I'd really like to be disable DNS lookups from causing ppp -auto to dial. How can I do this? I assume that I want to re-enable DNS in ppp.linkup. > > Thanks a ton, > Tiller You may want to stick your hostname in /etc/hosts - blocking DNS is probably the wrong way to go as it'll make on-demand dialing practically useless. Look into ``ndc'' to find out what's being looked up and put this stuff in /etc/hosts if you can :-) -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message