From owner-freebsd-questions Thu Jul 6 18:42:33 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA12137 for questions-outgoing; Thu, 6 Jul 1995 18:42:33 -0700 Received: from legend (legend.txdirect.net [204.57.120.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id SAA12130 for ; Thu, 6 Jul 1995 18:42:32 -0700 Received: from oasis (link059) by legend (5.x/SMI-SVR4) id AA24179; Thu, 6 Jul 1995 20:38:29 -0500 Date: Fri, 7 Jul 1995 20:40:34 -0500 (CDT) From: Rob Snow X-Sender: rsnow@oasis To: Terry Lambert Cc: freebsd-questions@freebsd.org Subject: Re: rcp strangness In-Reply-To: <9507062336.AA22571@cs.weber.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@freebsd.org Precedence: bulk On Thu, 6 Jul 1995, Terry Lambert wrote: > > *********************************** > > /etc/hosts on oasis (identical on lost) > > *********************************** > > # hosts,v 1.5 1995/04/09 09:54:39 rgrimes Exp > > 127.0.0.1 localhost > > > > 204.57.120.200 oasis oasis.txdirect.net > > 204.57.120.201 lost lost.txdirect.net > > > > > > *********************************** > > /etc/resolv.conf on oasis > > *********************************** > > domain txdirect.net > > nameserver 204.57.120.6 > > ^^^^^^^^^^^^ This nameserver is indeed remote (ppp). > > However if I dont put it here I cant find > > ANYONE not in hosts. > > The /etc/hosts.conf file determines appeal order. By default, you want > to change it to hosts then remote. > Right, hosts before bind in host.conf. I have that. *************************** /etc/host.conf *************************** # host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp # Default is to use the nameserver first # NOTE: rsnow changed this 01-Jul-95 to have hosts before bind for ppp hosts bind So why does: lost% rcp trash oasis:~/trash cause ppp (running on oasis) to dial? again: lost <------- lp0 ---> oasis <------- ppp ---> ISP 204.57.120.201 204.57.120.200 204.57.120.3 & 204.57.120.6 & rest of net --- Rob Snow rsnow@txdirect.net