From owner-freebsd-questions Thu Nov 16 17:28:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtppop1pub.verizon.net (smtppop1pub.gte.net [206.46.170.20]) by hub.freebsd.org (Postfix) with ESMTP id 38B3937B479 for ; Thu, 16 Nov 2000 17:28:17 -0800 (PST) Received: from xps (p105.amax37.dialup.dal1.flash.net [209.30.248.105]) by smtppop1pub.verizon.net with SMTP ; id TAA24288242 Thu, 16 Nov 2000 19:23:16 -0600 (CST) Message-ID: <003a01c05046$6eda31a0$69f81ed1@xps> From: "Jason Halbert" To: "Stephen Fisher" Cc: References: <3A14639D.ECFEADA4@fremont.sourcee.com> <01d801c0501f$0a701620$0d00a8c0@comspace.com> <20001116160013.B7647@plato.nmia.com> Subject: Re: Hostname/IP--How to Date: Thu, 16 Nov 2000 19:28:17 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Stephen Fisher" Sent: Thursday, November 16, 2000 3:00 PM > Actually your best bet is to use your network IP address (even if it's a > private one) if you have a NIC card: > > 127.0.0.1 localhost > 10.1.1.1 machine machine.domain.com > > If you need to modify the 127.0.0.1 (running TCP/IP but no NIC card with an IP > on it) then I would put something like: > > 127.0.0.1 localhost machine machine.domain.com > > That way 127.0.0.1 looks up as localhost, at least first. And you can still > lookup localhost to be 127.0.0.1 :-) > > On Thu, Nov 16, 2000 at 04:45:51PM -0600, Daniel Domengeaux wrote: > > > | How do I make my hostname (ex: seal.fans.com) bind with the IP address > > | so when I ping, ftp, or telnet to that UNIX box, I can type in the > > | hostname instead of the IP address? > > > > edit the /etc/hosts > > > > 127.0.0.1 seal.fans.com seal > > Hmm.. I don't think this is what he's looking for.. If he wants to be able to connect to his box from the net using a domain name instead of an IP he will need to have a DNS server point the domain to an [his] IP (preferably static). If you want reverse DNS look-ups to work you would need to have the authoritative DNS point forward and back to the domain and IP. Meaing your ISP would have to be kind enough (e.g. beg them) to make an entry on their DNS server to point for you. Jason P. Halbert Transmitter Maintenance Engineer KDAF-TV WB33 KDTX-TV 58 res02jw5@gte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message