Organization: University of Arizona, Computer Center
Newsgroups: bit.listserv.ibmtcp-l
Date:         Wed, 27 Jan 1993 16:02:31 MST
From:         "Taryn L. Westergaard" <TARYN@ARIZVM1.BITNET>
Subject:      HELP needed getting secondary name server working on VM

Ok, I asked once already and its still not right.  I'm trying to run a
secondary nameserver on ARIZVM1.CCIT.ARIZONA.EDU.  I want it to be secondary
for ARIZONA.EDU.  The ONLY example I have to go on is from unix.  Here's what
I have so far:

My unix example says to create "named.boot" file:
------------------------------------------------
     cache     .                    cache
     primary   0.0.127.in-addr.arpa local
     secondary arizona.edu          128.196.128.233 AZ
     secondary 128.196.in-addr.arpa 128.196.128.233 AZR


So on VM I created my NSMAIN file with:
--------------------------------------
     primary   .                    cache
     primary   0.0.127.in-addr.arpa local
     secondary arizona.edu          AZ  128.196.128.233
     secondary 128.196.in-addr.arpa AZR 128.196.128.233


Now my sql tables AZ0 and AZR0 are successfully loaded by a zone transfer from
128.196.128.233.  I have successfully loaded the CACHE0 sql table (using
NSDBLOAD) from a file I called CACHE DATA:

     ; root nameservers
     .                   99999999 IN NS NS.NIC.DDN.MIL.
                         99999999 IN NS AOS.BRL.MIL.
                         99999999 IN NS KAVA.NISC.SRI.COM.
                         99999999 IN NS C.NYSER.NET.
                         99999999 IN NS TERP.UMD.EDU.
                         99999999 IN NS NS.NASA.GOV.
                         99999999 IN NS NIC.NORDU.NET.
     NS.NIC.DDN.MIL.     99999999 IN A 192.112.36.4
     AOS.BRL.MIL.        99999999 IN A 192.5.25.82
     KAVA.NISC.SRI.COM.  99999999 IN A 192.33.33.24
     C.NYSER.NET.        99999999 IN A 192.33.4.12
     TERP.UMD.EDU.       99999999 IN A 128.8.10.90
     NS.NASA.GOV.        99999999 IN A 128.102.16.10
                         99999999 IN A 192.52.195.10
     NIC.NORDU.NET.      99999999 IN A 192.36.148.17


Now here's where my problem is, but I don't know how it's supposed to be on VM.
From my unix example, the contents of the LOCAL file should be:

     @          604800  IN  SOA    LOCALHOST. POSTMAST.LOCALHOST.  (
                                        1.1            ;serial
                                        21600          ;refresh
                                        3600           ;retry
                                        3600000        ;expire
                                        86400 )        ;minimum ttl
                604800  IN  NS     LOCALHOST.
     1                  IN  PTR    LOCALHOST.
     LOCALHOST.         IN  A      127.0.0.1


So I created a file called LOCAL DATA with the above and tried to load it into
the sql table LOCAL0 with NSDBLOAD and get the following error:

nsdbload local0 local data a local hostinfo a
outnfile.fn local
infile.fn local
Select remarks
Currently used TABLES: CACHE0 LOCAL0 AZ1 AZR1
Wed Jan 27 07:58:19: Do you want to create resource records from a master file
Wed Jan 27 07:58:19: (y/n)?
y
Using input file local.data.a
Wed Jan 27 07:58:28: @ - current origin

Origin has not been defined
Origin has not been defined
Error(s) occurred reading master datafile.
Ready(00001); T=0.15/0.25 07:58:28


Ok, so it seems that I have to specify a $ORIGIN in my LOCAL DATA file.  But
I'm not sure what the $ORIGIN should be.

A question I have that may be related to my problem is how the LOOPBACK
address of 14.0.0.0 on VM relates to the LOCALHOST address of 127.0.0.1 on
unix systems.  Should my LOCAL DATA file be using 14.0.0.0 instead of
127.0.0.1?  Should I be using LOOPBACK instead of LOCALHOST?

Any help would be GREATLY appreciated!!!!!!!

* Taryn L. Westergaard           BITNET:   taryn@arizvm1
* Systems Programmer, Principal  INTERNET: taryn@arizona.edu
* University of Arizona, CCIT    PHONE:    (602) 621-2996
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU