From owner-freebsd-net@FreeBSD.ORG Wed Apr 27 04:00:49 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF77816A556 for ; Wed, 27 Apr 2005 04:00:49 +0000 (GMT) Received: from hotmail.com (bay106-dav9.bay106.hotmail.com [65.54.161.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26C1943D54 for ; Wed, 27 Apr 2005 04:00:06 +0000 (GMT) (envelope-from skshyam@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 26 Apr 2005 21:00:05 -0700 Message-ID: Received: from 65.54.161.210 by BAY106-DAV9.phx.gbl with DAV; Wed, 27 Apr 2005 04:00:05 +0000 X-Originating-IP: [65.54.161.210] X-Originating-Email: [skshyam@hotmail.com] X-Sender: skshyam@hotmail.com From: "Shyam Shantikumar" To: Date: Wed, 27 Apr 2005 13:59:46 -0700 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcVLbAqoh7nKvylMSUm6lyFNKWIfjA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 27 Apr 2005 04:00:05.0910 (UTC) FILETIME=[98A4EB60:01C54ADD] X-Mailman-Approved-At: Wed, 27 Apr 2005 12:43:54 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Configuring a test domain (Internal domain) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 04:00:50 -0000 Dear all, I am a novice when it comes to setting up a dns domain in FreeBSD. I am trying to set up this domain called "simple" only for 2 machines in my internal network. This is my db.domain file $TTL 3h simple. in SOA LDAPSERVER.simple. ( 1 3h 1h 1w ih ) simple. in NS LDAPSERVER.simple. localhost.simple. in A 10.1.3.197 shyam.simple in A 10.1.3.195 This is the db.address file for reverse resolution. $TTL 3h simple. in SOA LDAPSERVER.simple. ( 1 3h 1h 1w ih ) simple. in NS LDAPSERVER.simple. localhost.simple. in A 10.1.3.197 shyam.simple in A 10.1.3.195 This is the named.conf file key "rndc-key" { algorithm "hmac-md5"; secret "ho7if1SMtvTZ4vSj2dY2Alt3HHKIvX6yT2CA1nY4Yn0="; }; controls { inet 127.0.0.1 port 953 allow {localhost;} keys {rndc-key;}; }; options { directory "/etc/namedb"; pid file "var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; forwarders { 10.1.3.1; }; zone "." { type hint; file "db.cache"; }; zone "0.0.127.in-addr.arpa" { type master; file "db.127.0.0"; }; zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.arpa"$ type master; file "master/localhost-v6.rev"; }; zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.int"$ type master; file "master/localhost-v6.rev"; }; zone "simple" in { type master; file db.simple"; }; zone "3.1.10.in-addr.arpa" { type master; file "db.10.1.3"; }; Please bear with me if I have made any stupid mistakes on the configuration. Thanx