From owner-freebsd-questions Tue Oct 5 15:25:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cask.force9.net (cask.force9.net [195.166.128.29]) by hub.freebsd.org (Postfix) with SMTP id 640141530F for ; Tue, 5 Oct 1999 15:25:21 -0700 (PDT) (envelope-from ric@sinclairassoc.force9.co.uk) Received: (qmail 322 invoked from network); 5 Oct 1999 22:22:44 -0000 Received: from unknown (HELO sinclairassoc.force9.co.uk) (212.56.123.74) by cask.force9.net with SMTP; 5 Oct 1999 22:22:44 -0000 Message-ID: <37FA7A44.9290918B@sinclairassoc.force9.co.uk> Date: Tue, 05 Oct 1999 23:23:00 +0100 From: Richard Morte Organization: Sinclair Associates X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en-GB, en MIME-Version: 1.0 To: Brian Somers Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: ppp -auto is trigger-happy References: <199910041526.QAA02841@hak.lan.Awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Somers wrote: > > > 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 Brian, Thanks for your reply. I'm not at all familiar with ndc's output so I guess you are referring to the stuff output by dumpdb - only there's so much of it. However, I've been running named with the -d1 flag and this seems to pick up all the requests in named.run. When Netscape was first installed, it reported that it couldn't find the host for 'home. netscape.com' (or something like this). I assume Netscape is configured to 'phone home, if only for the Netscape server to set a cookie... I cannot detect any current dns lookups for netscape.com. However, the following lookups are made when Netscape starts up now (output from named.run): news.force9.net usenet.force9.net usenet.plus.net.uk mail.force9.net relay.force9.net These are all for Messenger. They are produced as soon as the browser alone starts up (without even starting Mesenger). Since my ISP provides server-assigned addresses I am not sure I can put any of this stuff in /etc/hosts because the IP addresses change with each new connection. What do you suggest/ many Thanks, Ric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message