From owner-freebsd-questions Tue Dec 16 17:40:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA21603 for questions-outgoing; Tue, 16 Dec 1997 17:40:31 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mail.iconz.co.nz (mail.iconz.co.nz [202.14.100.36]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA21592 for ; Tue, 16 Dec 1997 17:40:26 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from news.iconz.co.nz (status.gen.nz [202.14.100.1]) by mail.iconz.co.nz (8.8.7/8.8.7) with ESMTP id OAA255010882322794; Wed, 17 Dec 1997 14:39:54 +1300 (NZDT) Received: (from uucp@localhost) by news.iconz.co.nz (8.8.5/8.8.5) with UUCP id OAA04134; Wed, 17 Dec 1997 14:39:55 +1300 Received: from tui.pinnacle.co.nz (tui.pinnacle.co.nz [202.37.163.3]) by kakapo.pinnacle.co.nz (8.8.8/8.8.8) with ESMTP id NAA01804; Wed, 17 Dec 1997 13:32:44 +1300 (NZDT) Received: from localhost (jonc@localhost) by tui.pinnacle.co.nz (8.8.8/8.8.8) with SMTP id NAA15702; Wed, 17 Dec 1997 13:32:43 +1300 (NZDT) X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs Date: Wed, 17 Dec 1997 13:32:42 +1300 (NZDT) From: Jonathan Chen To: j.saito@wanadoo.fr cc: freebsd-questions@FreeBSD.ORG Subject: Re: How do I determine "hostname" ? In-Reply-To: <199712162215.XAA18887@tamaya.wanadoo.fr> 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 Tue, 16 Dec 1997 j.saito@wanadoo.fr wrote: > # ping 195.6.71.4 > PING 195.6.71.4 (195.6.71.4): 56 data bytes > 64 bytes from 195.6.71.4: icmp_seq=0 ttl=255 time=315.404 ms > 64 bytes from 195.6.71.4: icmp_seq=1 ttl=255 time=273.907 ms > > # ping ftp.freebsd.org > ping: cannot resolve ftp.freebsd.org: Host name lookup failure What you need to do is to put in entries in /etc/resolv.conf to resolve names. Determine your ISP's nameserver IP address and add it to /etc/resolve.conf. eg, if the nameserver is 202.37.163.4, you add: nameserver 202.37.163.4 Make sure the file is readable to all. -- Jonathan Chen ---------------------------------------------------------------------- "Part of the secret of success in life is to eat what you like and let the food fight it out inside" - Mark Twain