Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 1997 13:32:42 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        j.saito@wanadoo.fr
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How do I determine "hostname" ?
Message-ID:  <Pine.SGI.3.96.971217132633.15694A-100000@tui.pinnacle.co.nz>
In-Reply-To: <199712162215.XAA18887@tamaya.wanadoo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@pinnacle.co.nz>
----------------------------------------------------------------------
        "Part of the secret of success in life is to eat what you like
                    and let the food fight it out inside" - Mark Twain




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.971217132633.15694A-100000>