From owner-freebsd-questions Tue Oct 5 21:54: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-94.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.94]) by hub.freebsd.org (Postfix) with ESMTP id AA6011570B for ; Tue, 5 Oct 1999 21:53:21 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id FAA00343; Wed, 6 Oct 1999 05:21:43 +0100 (BST) (envelope-from brian@lan.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 FAA04816; Wed, 6 Oct 1999 05:22:26 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199910060422.FAA04816@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Richard Morte Cc: Brian Somers , "freebsd-questions@FreeBSD.ORG" Subject: Re: ppp -auto is trigger-happy In-reply-to: Your message of "Tue, 05 Oct 1999 23:23:00 BST." <37FA7A44.9290918B@sinclairassoc.force9.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 06 Oct 1999 05:22:26 +0100 From: Brian Somers 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. This sounds like the best option :-) > 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 believe this is just the default home page. > 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/ Hmm, maybe you need to run your own local mail relay and news server... > many Thanks, > > Ric -- 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