From owner-freebsd-questions Thu Jul 31 00:24:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA12246 for questions-outgoing; Thu, 31 Jul 1997 00:24:32 -0700 (PDT) Received: from foo.primenet.com (ip207.sjc.primenet.com [206.165.96.207]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA12232 for ; Thu, 31 Jul 1997 00:24:23 -0700 (PDT) Received: from localhost (bkogawa@localhost) by foo.primenet.com (8.8.5/8.6.12) with SMTP id AAA03946; Thu, 31 Jul 1997 00:28:05 -0700 (PDT) X-Authentication-Warning: foo.primenet.com: bkogawa owned process doing -bs Date: Thu, 31 Jul 1997 00:28:05 -0700 (PDT) From: "Bryan K. Ogawa" To: Richard Levenberg cc: freebsd-questions@FreeBSD.ORG Subject: Re: My FreeBSD gateway machine is always dialing out!!! In-Reply-To: <199707310440.VAA00405@enterprise.ufp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 30 Jul 1997, Richard Levenberg wrote: > > Try using a DNS server and adding these other machines's IP addresses > > (reverses, the numeric in-arpa ones) to your name server database. > > I tried this to no avail. Thank you for your reply. My domain.db looks > like: > > @ IN SOA mydomain.com. root.mydomain.com. ( > 970727 ; Serial > 3600 ; Refresh > 300 ; Retry > 3600000 ; Expire > 3600 ) ; Minimum > IN NS gateway.mydomain.com. > > gateway.mydomain.com. IN A 192.168.0.100 > machost.mydomain.com. IN A 192.168.0.101 > notebook.mydomain.com. IN A 192.168.0.103 > > $ORIGIN 0.168.192.IN-ADDR.ARPA > IN NS gateway.mydomain.com. > 100 IN PTR gateway.mydomain.com. > 101 IN PTR machost.mydomain.com. > 103 IN PTR notebook.mydomain.com. > > $ORIGIN 0.0.127.IN-ADDR.ARPA > IN NS gateway.mydomain.com. > 1 IN PTR localhost.mydomain.com. When you invoke ftp, do you invoke via the full name, or via the hostname, or via IP? Does changing this change the behavior? if your modem is off, DNS is on, and you type "host 192.168.0.103" on the gateway, do you dial out? As for the ftp server, I'm wondering if it does some sort of sanity checking (I know that Netscape, for example, does "sanity checks" which involve external DNS lookups). bryan k ogawa http://www.primenet.com/~bkogawa/