[comp.protocols.tcp-ip] Domain name server on SUN 4-280 Help !!!

marcel@dx7.UUCP (Marcel Bernards) (10/19/88)

We are trying to set up a nameserver for our IP-domain.
Our TCP-IP domain exists of a number of SUN workstations and a
large amount of UB NIU-130's and NIU-180's.

We want to use a SUN-4/280 as the root domain name server.
The only thing we want to do is use UB-NIU tcp telnet>>connect <hostname>
instead of telnet>>open <IP-Address> [port nr] ( = user unfriendly )
Currently we didn't succeed due to a problem in the named.db database ( ??)
We think we did all things right .... 
{ as in the example in the SUN manual [RFC ....] }

Here the examples of the related files:
*** named.boot ***
;
;       boot file for name server
;
domain          ECN-NLERF
primary         ECN-NLERF       /etc/named.db

**** named.db ***
@       IN      SOA     ecn.ECN-NLERF.          root.ecn.ECN-NLERF. (
                1.1     ;version
                3600    ;refresh
                300     ;retry
                3600000 ;expire
                3600 )  ;minimum
        IN      NS      ecn.ECN-NLERF.
localhost IN    A       127.0.0.1
loghost IN      CNAME   localhost
ecn     IN      A       130.112.1.1
zappa   IN      A       130.112.1.5
dx7     IN      A       130.112.1.7
ibis    IN      A       130.112.1.87
niu53   IN      A       130.112.1.53
*** piece off named.run debugging log file ***
dqp->dq_addr 127.0.0.1 d_dfd 9
dqp->dq_addr 130.112.1.1 d_dfd 10
Ready to answer queries.
prime_cache: priming = 0
datagram from 130.112.1.53, 10  34304 (23)
ns_req()
HEADER:
        opcode = QUERY, id = 17515, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        ZAPPA, type = A, class = IN

req: nlookup(ZAPPA) id 17515 type=1
req: missed 'ZAPPA' as '' (cname=0)
findns: using cache
findns: using hints
findns: No root nameservers?
req: answer -> 130.112.1.53 10 (34304) id=17515 Local
***** end **
Who knows what i did wrong ?? 

please E-mail.
=============== Local UNIX & Network System administrator ===================
Marcel Bernards                             | e-mail: ..!mcvax!ecn!marcel
Netherlands Energy Research Foundation, ECN | Telex : 57211 REACP NL
P.O. Box 1                                  | Fax   : -31 2246 4480
1755 ZG Petten (NH), Holland.               | Phone : -31 2246 4342
--------------------------------------------+--------------------------------

ron@ron.rutgers.edu (Ron Natalie) (10/23/88)

Unless you are using the latest (Release 16) of the UB code it
is NOT using domain name resolution.  Older UB TCP's use the
IEN116 name server, which sun calls in.tnamed.  This reads /etc/hosts.
I recompiled it on our machine so that it would call the domain version
of gethostbyname.  The UB's then came alive.  It's probably just easier
to get UB to send you Rel 16, because you can not make the older PC/NIU
software to work without substantial hacks to the tnamed anyway.

-Ron