From owner-freebsd-questions Fri Aug 14 09:29:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20107 for freebsd-questions-outgoing; Fri, 14 Aug 1998 09:29:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.interpath.net (mail.interpath.net [199.72.1.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20089 for ; Fri, 14 Aug 1998 09:29:05 -0700 (PDT) (envelope-from skovian@interpath.com) Received: from michael (ecity0-052.dyn.interpath.net [207.59.122.52]) by mail.interpath.net (8.8.8/v1.0) with SMTP id MAA02205 for ; Fri, 14 Aug 1998 12:25:31 -0400 (EDT) Message-ID: <35D466C9.2F66@interpath.com> Date: Fri, 14 Aug 1998 12:33:23 -0400 From: Michael Jaskowiak Reply-To: skovian@interpath.com X-Mailer: Mozilla 3.04Gold (Win95; U) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: FreeBSD DNS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To whom it may concern: I posted this on the comp.unix.bsd.freebsd.misc newsgroup, but thought that I would mail it to you folks too. Please look at this and let me know what I have done wrong. Thanx. Hello, All, I am trying to set up a DNS on my 10base-T network. The computers that I am trying to use this for are 2 SCO UnixWare and 6 FreeBSD 2.2.5 servers. The computer that will be the DNS is FreeBSD 2.2.5. I have tried reading the man page for named, but I could not get it to work by reading that. What I have set up now is pretty much straight out of Greg Lehey's The Complete FreeBSD. Here is a screen shot of the error message that I get when I 'tail -20 /var/log/message' after I initialize named with 'named -b /etc/namedb/named.boot': Aug 14 12:09:30 samuel su: mike to root on /dev/ttyp0 Aug 14 12:17:01 samuel named[490]: starting. named 4.9.6-REL Tue Oct 21 13:08:0 4 GMT 1997 jkh@time.cdrom.com:/usr/obj/usr/src/usr.sbin/named Aug 14 12:17:01 samuel named[490]: localhost.rev: No such file or directory Aug 14 12:17:01 samuel named[490]: rcsal-reverse: line 7: database format error (samuel.rcsal.com.) Aug 14 12:17:01 samuel named[490]: Zone "120.5.135.IN-ADDR.ARPA" (file rcsal-rev erse): no SOA RR found Aug 14 12:17:01 samuel named[490]: primary zone "120.5.135.IN-ADDR.ARPA" rejecte d due to errors (serial 1998081315) Aug 14 12:17:01 samuel named[491]: Ready to answer queries. I am doing this through a telnet session to the server in question. Is that OK? What puzzles me is the fact that I am following the example almost as it is writtin in the book. Here is my named.boot file: directory /etc/namedb ; type domain source host/file backup file cache . named.root primary 0.0.127.IN-ADDR.ARPA localhost.rev primary rcsal.com db.rcsal.com primary 120.5.135.IN-ADDR.ARPA rcsal-reverse And here is my db.rcsal.com file: rcsal.com. IN SOA samuel.rcsal.com. mike.rcsal.com. ( 1998081301 86400 7200 8640000 86400 ) IN NS ns ns IN A 135.5.120.101 data IN A 135.5.120.97 cqdx IN A 135.5.120.100 samuel IN A 135.5.120.101 orville IN A 135.5.120.102 april IN A 135.5.120.106 freeb IN A 135.5.120.150 ppro IN A 135.5.120.110 bsdoscar IN A 135.5.120.151 This is really getting to me. Can someone give me some hints? It is difficult to understand why I am having these troubles. Thanks for the help Michael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message