From owner-freebsd-questions Mon Jan 8 22:58:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtpe.casema.net (smtpe.casema.net [195.96.96.172]) by hub.freebsd.org (Postfix) with SMTP id 633AD37B400 for ; Mon, 8 Jan 2001 22:58:16 -0800 (PST) Received: (qmail 3451 invoked from network); 9 Jan 2001 06:58:09 -0000 Received: from unknown (HELO slash.b118.binity.net) (212.64.76.210) by smtpe.casema.net with SMTP; 9 Jan 2001 06:58:09 -0000 Received: from tsunami.b118.binity.net (tsunami.b118.binity.net [172.18.3.10]) by slash.b118.binity.net (8.11.1/8.11.1) with ESMTP id f096vZg28017; Tue, 9 Jan 2001 07:57:44 +0100 (CET) (envelope-from walter@binity.com) Date: Tue, 9 Jan 2001 07:57:44 +0100 From: "Walter W. Hop" X-Mailer: The Bat! (v1.49) Educational Organization: Binity X-Priority: 3 (Normal) Message-ID: <8350388765.20010109075744@binity.com> To: lanehol@bellsouth.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Local DNS Server In-reply-To: <004201c07a01$f1b06880$e3951442@windows.home> References: <004201c07a01$f1b06880$e3951442@windows.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [in reply to lanehol@bellsouth.net, 09-01-2001] > My FreeBSD box is server.unix.home at 192.168.0.4 (I'm not real original > with these) > My Windows box is lane.windows.home at 192.168.0.1 > My Mac box is joe.mac.home at 192.168.0.2 This is not so hard to do. You have to create a domain in your nameserver called "home". To do this, add this to named.conf: zone "home" { type master; file "zone/home"; }; Then create a file /etc/namedb/zone/home: @ IN SOA server.unix.home. hostmaster.server.unix.home. ( 2001010701 ; serial 8H ; refresh 2H ; retry 4W ; expire 1D ) ; minimum ;; the nameserver for the zone NS server.unix.home. ;; this one is required localhost A 127.0.0.1 ;; insert your hosts in the "home" domain here server.unix A 192.168.0.4 lane.windows A 192.168.0.1 joe.mac A 192.168.0.2 If you reload the nameserver with "killall -HUP named" you should see in your logfiles that it has loaded a zone called "home". Should you ever change the zone, be sure to raise the serial number. You might want to check out this little HOWTO on BIND. It's clear and simple. http://www.linuxdoc.org/HOWTO/DNS-HOWTO.html If the example above doesn't work I apologize, it's 07:56am and I've been up all night reading about mutexes and deadlocks :) Good luck.. walter. -- Walter W. Hop | +31 6 24290808 | NEW KEY: 0x84813998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message