From owner-freebsd-questions Fri Nov 8 6:47:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B6B437B401 for ; Fri, 8 Nov 2002 06:47:25 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAF5F43E3B for ; Fri, 8 Nov 2002 06:47:20 -0800 (PST) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.226.29] by mail.gbronline.com (SMTPD32-7.13) id ADF34ABB0222; Fri, 08 Nov 2002 08:45:07 -0600 Message-ID: <00f701c28735$3d22ea30$fa00a8c0@DaleCoportable> From: "DaleCo Help Desk" To: "Tiago Andre" Cc: References: Subject: Re: your mail about "domain name" Date: Fri, 8 Nov 2002 08:43:43 -0600 Organization: DaleCo, S.P.---"the solutions people" 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 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "Tiago Andre" Subject: Re: your mail about "domain name" > what i mean is that other hosts can >ping your IP but not your name... > > My DNS server is in my LAN > and i have acces to it > Setting up BIND is a pretty complex subject. There is a chapter in the handbook devoted to it. Generally, if you've already got it working it should just be a matter of adding the new host's name to the zone file on the nameserver, incrementing the serial number in the zone file, and restarting the name daemon. Something like: $cd /etc/namedb $ed my.domain.hosts my.old.host. IN A 192.168.0.100 my.new.host. IN A 192.168.0.101 $ndc restart make sure your LAN hosts are using *your* DNS server to do their lookups. $nslookup - your.dns.server Default Server: localhost.my.domain Address: 127.0.0.1 >my.new.host Server: localhost.my.domain Address: 127.0.0.1 Name: my.new.host Address: 192.168.0.101 That should about take care of it, unless I'm not understanding the questions, which is quite possible, even likely.... HTH, Kevin Kinsey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message