From owner-freebsd-questions Tue Apr 18 09:14:25 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA10447 for questions-outgoing; Tue, 18 Apr 1995 09:14:25 -0700 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id JAA10441 for ; Tue, 18 Apr 1995 09:14:23 -0700 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA26484; Tue, 18 Apr 95 16:14:09 GMT Received: from junco.fsl.noaa.gov by yarmouth.fsl.noaa.gov (1.37.109.16/SMI-4.1 (1.37.109.16)) id AA161111632; Tue, 18 Apr 1995 12:13:52 -0400 Date: Tue, 18 Apr 1995 12:13:52 -0400 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <199504181613.AA161111632@yarmouth.fsl.noaa.gov> Received: by junco.fsl.noaa.gov (1.37.109.16/SMI-4.1 (1.37.109.16)) id AA275671655; Tue, 18 Apr 1995 10:14:15 -0600 To: kcw@grumpy.ksc.nasa.gov Cc: questions@FreeBSD.org In-Reply-To: <9504181312.AA08658@grumpy.ksc.nasa.gov> (kcw@grumpy.ksc.nasa.gov) Subject: Re: PPP and dynamic IPs Sender: questions-owner@FreeBSD.org Precedence: bulk >>>>> "Ken" == Ken Whedbee writes: Ken> I'm connecting to the internet (from FreeBSD2.0 patched) Ken> through a dialup PPP (Internet Service Provider) account Ken> which assigns an IP number dynamically. Same here, although at work we're supposedly getting permanently assigned IP addresses for our home hosts ... waiting ... waiting ... Ken> My question is, do I have to setup anything in my /etc/hosts Ken> and /etc/host.conf files or should my machine become aware of Ken> its IP automagically ? Nah, no need to do anything special. Ken> Do I need to specify my hostname in the /etc/hosts file ? Pick any host name and IP address you want. Ken> What order should DNS lookup and /etc/hosts lookup be in the Ken> /etc/host.conf file ? I think any order will work; but I use /etc/hosts first for when I'm not connected to my service provider. Ken> I was tring to talk to the ISP's nntp server (telnet to the Ken> port number) and it was saying "host not in nntp access file Ken> .. error code 502". The ISP claims their floating IPs are in Ken> the nntp access file. They're lying. Ken> If I ping myself it shows the dynamically assigned IP. Good. Ken> Any insights ? I haven't had a good insight in years. -- Sean Kelly NOAA Forecast Systems Lab, Boulder Colorado USA If they ever come up with a swashbuckling school, I think one of the courses should be Laughing, Then Jumping Off Something. -- Jack Handey