From owner-freebsd-questions Thu Jun 29 0:53: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.prod.itd.earthlink.net (eagle.prod.itd.earthlink.net [207.217.120.24]) by hub.freebsd.org (Postfix) with ESMTP id C51A037B6D1 for ; Thu, 29 Jun 2000 00:53:02 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0464.cvx20-bradley.dialup.earthlink.net [209.179.251.209]) by eagle.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id AAA13580; Thu, 29 Jun 2000 00:52:54 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id AAA00938; Thu, 29 Jun 2000 00:51:28 -0700 (PDT) Date: Thu, 29 Jun 2000 00:51:26 -0700 From: "Crist J. Clark" To: peter kok Cc: questions@FreeBSD.ORG Subject: Re: DNS set up question Message-ID: <20000629005125.F451@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000629071320.15941.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000629071320.15941.qmail@hotmail.com>; from aoypcc@hotmail.com on Thu, Jun 29, 2000 at 07:13:20AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 29, 2000 at 07:13:20AM +0000, peter kok wrote: > Hi > > I have DNS set up question > > the file setting: named.conf > ----------------------------- > zone "abc.com.hk" in { > type master; > file "db.abc"; > }; > > zone "0.168.192.in-addr.arpa" in { > type master; > file "db.192.168.0"; > }; > > zone "0.0.127.in-addr.arpa" in { > type master; > file "db.127.0.0"; > }; > > zone "." in { > type hint; > file "db.cache"; > }; > > --------------------------------- > when I run /etc/named, and grep /var/log/messages. error messages: ^^^^^^^^^^ ITYM, /usr/sbin/named? > Jun 29 15:00:29 email named[521]: starting. named 8.2.2-P5-NOESW Mon Mar 20 > 20: > 43:54 GMT 2000 root@monster.cdrom.com:/usr/obj/usr/src/usr.sbin/named > Jun 29 15:00:29 email named[521]: limit files set to fdlimit (1024) > Jun 29 15:00:29 email named[521]: Zone "nikoyo.com.hk" (file db.nikoyo): No > defa > ult TTL set using SOA minimum instead Just a warning about no TTL set. > Jun 29 15:00:29 email named[521]: db.abc:1: SOA for "abc.com" not at zone > top "abc.com.hk" > Jun 29 15:00:29 email named[521]: Zone "abc.com.hk" (file db.abc): no NS R > Rs found at zone top > Jun 29 15:00:29 email named[521]: master zone "abc.com.hk" (IN) rejected due > to errors (serial 2000062901) Looks like the zone file, db.abc, is pretty messed up. > Jun 29 15:00:29 email named[521]: Zone "0.168.192.in-addr.arpa" (file > db.192.168 > .0): No default TTL set using SOA minimum instead Again, no TTL set. > Jun 29 15:00:29 email named[521]: /etc/namedb/named.conf:123: cannot > redefine zo > ne '0.0.127.in-addr.arpa' class IN > Jun 29 15:00:29 email named[521]: /etc/namedb/named.conf:128: cannot > redefine zo > ne '.' class IN Hmmm... Is that the _whole_ file you showed us? > kindly help and I don't know what is my mistake DNS is a very picky beast not to be toyed with if these are real domain records. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message