Subject: Re: Stepping into the unknown...
To: Jesse Swensen <jrs@pagesz.net>
From: tcjam <tcjam@voicenet.com>
List: port-mac68k
Date: 06/30/1997 14:32:36
Again sorry for the lateness of this post.
On Sun, 29 Jun 1997, Jesse Swensen wrote:

> At 8:54 PM -0400 6/29/97, Ken Nakata wrote:
> >Hi,
> >
> >I'm not positive what's wrong here, but I'll give it a shot anyway...
> >
> >On Sun, 29 Jun 1997 20:22:39 -0400,
> >Jesse Swensen <jrs@pagesz.net> wrote:
> >> I am trying to get named running.  I get a couple of things I am unsure of
> >>
> >> When netbsd first starts up I get:
> >>
> >> configuring network interfaces:ae0.
> >> writing to routing socket: File exists
> >> add host minimac: gateway localhost: File exists
> >
> >Looks like you have minimac set to 127.0.0.1 in /etc/hosts file?
> 
> The contents of my hosts file is:
> 127.0.0.1		localhost
> 192.168.0.1		minimac
> 
> 
> 
> >> I then look at /var/log/messages which says:
> >>
> >> Jun 29 19:27:20 minimac named[84]: starting.  named 4.9.5-P1
> >> Jun 29 19:27:21 minimac named[84]: primary zone "" loaded (serial
> >>1997062901)
> >
> >This looks suspicious.  Why zone name is empty?  What are the
> >"primary" lines in your named.boot file?
> 
> named.boot looks like:
> 
> ; directory in which other files are found
> 
> directory	/etc/namedb
> 
> ;type		domain				source file
> ;--------	----------			----------------
>  primary	.				swensen.root
> 
>  primary	0.0.127.in-addr.arpa		swensen.local
> 
>  primary	swensen.net			swensen.hosts
>  primary	0.168.192.in-addr.arpa		swensen.hosts.rev
> 
[rest of message snipped]

Where is your cache?

You should have a file called root.cache in /etc/namedb it should be
referenced in your named.boot file as shown below:

cache			.		root.cache

The following is a small example:

         ;
         ;    boot file for name server
         ;
         directory /usr/local/adm/named

         ; type     domain   source host/file   backup file

         cache      .				root.cache

       The  ``cache''  line specifies that data in ``root.cache''
       is to be placed in the backup cache.  Its main use  is  to
       specify  data  such  as  locations of root domain servers.
       This cache is not used during  normal  operation,  but  is
       used  as  ``hints'' to find the current root servers.  The
       file ``root.cache'' is in  the  same  format  as  ``berke-
       ley.edu.zone''.  There can be more than one ``cache'' file
       specified.  The ``root.cache'' file  should  be  retrieved
       periodically  from FTP.RS.INTERNIC.NET since it contains a
       list of root servers, and this list changes  periodically.

                                 \||||/
                                  o  o
=============================oOOo==()==oOOo==============================
|| "Please explain the scientific nature         |  tcjam@voicenet.com ||
||   of the whammy." -Scully                     ______________________||
||								       ||
|| "Foolproof systems don't take into account,                         ||
||  the ingenuity of fools" -Unknown 			               ||
||                                                                     ||
||   PGP key can be obtained from:                                     ||
||      http://www.voicenet.com/~tcjam/home/keys.html                  ||
=========================================================================