Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 1998 12:33:23 -0400
From:      Michael Jaskowiak <skovian@interpath.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   FreeBSD DNS
Message-ID:  <35D466C9.2F66@interpath.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35D466C9.2F66>