From owner-freebsd-questions Sat Apr 3 8:35:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from Raccoon.ChipChat.com (Raccoon.ChipChat.com [206.2.228.130]) by hub.freebsd.org (Postfix) with ESMTP id A281B14F2A for ; Sat, 3 Apr 1999 08:35:45 -0800 (PST) (envelope-from mrc@ChipChat.com) Received: from Piman-Orange.ChipChat.com (Piman-Orange.ChipChat.com [206.2.228.146]) by Raccoon.ChipChat.com (8.9.2/8.9.2) with ESMTP id QAA20578; Sat, 3 Apr 1999 16:34:09 GMT (envelope-from mrc@ChipChat.com) Received: from localhost (localhost.ChipChat.com [127.0.0.1]) by Piman-Orange.ChipChat.com (8.9.2/8.9.2) with ESMTP id QAA14642; Sat, 3 Apr 1999 16:34:06 GMT (envelope-from mrc@ChipChat.com) To: yutas1@hotmail.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help In-Reply-To: Your message of "Sat, 03 Apr 1999 00:54:04 PST" <19990403085413.97078.qmail@hotmail.com> References: <19990403085413.97078.qmail@hotmail.com> X-Mailer: Mew version 1.93 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990403163406G.mrc@ChipChat.com> Date: Sat, 03 Apr 1999 16:34:06 GMT From: Marty Cawthon X-Dispatcher: imput version 980905(IM100) Lines: 53 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG yutas1> I'm a little bit confused with the the adding of ip's. Like lets say yutas1> my host of the server is hokaido.ne.jp. I want to make a host that is yutas1> like hi.my.name.is.james.hokaido.ne.jp, how to i do that. A computer that is connected to the Internet has an 'IP address'. All of the Internet uses 'IP Addresses', such as 210.152.82.59 That is convenient for computers to use. But not convenient for people. There are 'servers' called "Domain Name Servers" (DNS) that translate between IP Addresses and numbers. DNS Servers are sometimes called 'named' (name daemon) and 'bind' (Berkeley Internet Name Daemon). Example: Somewhere on the Internet there is a DNS server that is responsible for 'chipchat.ne.jp' I have programmed this DNS to say: 'www.chipchat.ne.jp' is a name for 210.152.82.59 If you want to assign your computer a name like 'james.hokaido.ne.jp' then you must talk to the person responsible for the DNS for 'hokaido.ne.jp'. If you dial into the Internet (most people do) then you get a 'dynamic' or temporary IP address. Each time you dial in you might get a different address. It is difficult to assign a name to an address that changes. Most individuals do not have official DNS names for their computers. Companies often have 'permanent' Internet connections. It costs much more than individual 'dynamic' Internet connections. These companies will have several 'static' (not changing) IP addresses. Then it is easy to assign a name to each address. yutas1> Can u help me yutas1> out. How to i add the host and how do i remove the host. Its all yutas1> connected with the command ifconfig, route, netstat and ping right. Im yutas1> not really sure. I read the ipaliasing page, but im still confused. can yutas1> u help me out. To setup FreeBSD for hostname and IP address, it is easy. But it requires agreement with your Internet Provider and their DNS servers. Otherwise, nobody but yourself can know about that name. If your Internet Provider sets up DNS for you, then you edit '/etc/rc.conf' for hostname and IP address. FreeBSD will use 'ifconfig' to setup your computer from '/etc/rc.conf' automatically when you boot. 'route', 'netstat', 'ping' are useful programs, but not directly related to giving your computer a name. To learn more, read about "Domain Name Service". Marty Cawthon ChipChat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message