From owner-freebsd-questions Tue Apr 18 06:19:14 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA03320 for questions-outgoing; Tue, 18 Apr 1995 06:19:14 -0700 Received: from grumpy.ksc.nasa.gov (grumpy.ksc.nasa.gov [163.205.105.54]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id GAA03312 for ; Tue, 18 Apr 1995 06:19:11 -0700 Received: by grumpy.ksc.nasa.gov (5.65/DEC-Ultrix/4.3) id AA08658; Tue, 18 Apr 1995 09:12:38 -0400 From: kcw@grumpy.ksc.nasa.gov (Ken Whedbee) Message-Id: <9504181312.AA08658@grumpy.ksc.nasa.gov> Subject: PPP and dynamic IPs To: questions@FreeBSD.org Date: Tue, 18 Apr 95 9:12:38 EDT X-Mailer: ELM [version 2.3 PL11] Sender: questions-owner@FreeBSD.org Precedence: bulk I guess this question isn't really FreeBSD specific, but I thought you guys would know best. I'm connecting to the internet (from FreeBSD2.0 patched) through a dialup PPP (Internet Service Provider) account which assigns an IP number dynamically. My question is, do I have to setup anything in my /etc/hosts and /etc/host.conf files or should my machine become aware of its IP automagically ? Do I need to specify my hostname in the /etc/hosts file ? What order should DNS lookup and /etc/hosts lookup be in the /etc/host.conf file ? I was tring to talk to the ISP's nntp server (telnet to the port number) and it was saying "host not in nntp access file .. error code 502". The ISP claims their floating IPs are in the nntp access file. If I ping myself it shows the dynamically assigned IP. Any insights ? -- Ken Whedbee