From: mcdonald@aedc-vax.af.mil
Newsgroups: comp.sys.sgi
Subject: named and pandora problems under 4.0.5!
Date: 3 Sep 92 18:36:24 GMT

We upgrade our 4D320GTX to 4.0.5 yesterday.  After coming up we have found
to problems:

  1.  pandora core dumps if visuallogin is set to on
      (This works fine on my 4D20 PI)

  2.  named hoses up if enter a bogus hostname

Following is a listing of the configuration files for our named setup:

-begin named.boot----------------------------------------------------------

;
;  @(#)named.boot.slave 1.13    (Berkeley)  87/07/21
;
;  boot file for secondary name server
; Note that there should be one primary entry for each SOA record.
;
;
;sortlist 10.0.0.0 

directory       /usr/etc/named.d

; type    domain                source host/file                backup file

cache     .                     root.cache
primary   aedc                  named.hosts
primary   137.134.IN-ADDR.ARPA  named.rev
primary   0.0.127.IN-ADDR.ARPA  localhost.rev
-end named.boot------------------------------------------------------------






-begin named.host----------------------------------------------------------

;
; Data file of hostnames in this zone.
;
@       IN      SOA     max.aedc. postmaster.max.aedc. (
                        46      ; Serial   
                        300     ; Refresh - 5 minutes
                        60      ; Retry - 1 minute
                        1209600 ; Expire - 2 weeks
                        43200 ) ; Minimum - 12 hours
        IN      NS      max.aedc.
;
; %HOSTS_START% - entries added by /usr/local/adm/named.d/make_hosts
localhost               IN      A               127.0.0.1
magnum                  IN      A               134.137.225.12
rockford                IN      A               134.137.225.13
mannix                  IN      A               134.137.226.25
reddog2                 IN      A               134.137.226.26
alice                   IN      A               134.137.239.191
mary                    IN      A               134.137.239.192
-end named.host------------------------------------------------------------



-begin named.rev------------------------------------------------------------
;
; Data file for reverse address to hostname.
;
@       IN      SOA     max.aedc. postmaster.max.aedc. (
                        46      ; Serial   
                        300     ; Refresh - 5 minutes
                        60      ; Retry - 1 minute
                        1209600 ; Expire - 2 weeks
                        43200 ) ; Minimum - 12 hours
        IN      NS      max.aedc.
;
2.226.137.134.in-addr.arpa.     IN      PTR     max.aedc.
12.225.137.134.in-addr.arpa.    IN      PTR     magnum.aedc.
13.225.137.134.in-addr.arpa.    IN      PTR     rockford.aedc.
25.226.137.134.in-addr.arpa.    IN      PTR     mannix.aedc.
26.226.137.134.in-addr.arpa.    IN      PTR     reddog2.aedc.
191.239.137.134.in-addr.arpa.   IN      PTR     alice.aedc.
192.239.137.134.in-addr.arpa.   IN      PTR     mary.aedc.

-end named.rev------------------------------------------------------------


-begin root.cache------------------------------------------------------------
;
;       @(#)root.cache  1.13    (Berkeley)      88/04/15
;
; Initial cache data for root domain servers.
;

.                       99999999        IN      NS      max.aedc.

;
;  Prep the cache (hotwire the addresses).  Order does not matter
;

max.aedc.               99999999        IN      A       134.137.226.2
-end root.cache------------------------------------------------------------






Following is a sample run of nslookup and the debug dump file from named:


<18 /usr/tmp # /usr/etc/named 
<19 /usr/tmp # killall -USR1 named
<20 /usr/tmp # !!
killall -USR1 named
<21 /usr/tmp # !!
killall -USR1 named
<22 /usr/tmp # !!
killall -USR1 named
<23 /usr/tmp # !!
killall -USR1 named
<24 /usr/tmp # !!
killall -USR1 named
<25 /usr/tmp # !!
killall -USR1 named
<26 /usr/tmp # !!
killall -USR1 named
<27 /usr/tmp # !!
killall -USR1 named
<28 /usr/tmp # !!
killall -USR1 named
<29 /usr/tmp # !!
killall -USR1 named
<30 /usr/tmp # nslookup max
Server:  max
Address:  0.0.0.0

Name:    max.aedc
Address:  134.137.226.2

<31 /usr/tmp # nslookup mannix
Server:  max
Address:  0.0.0.0

Name:    mannix.aedc
Address:  134.137.226.25

<32 /usr/tmp # nslookup reddog2
Server:  max
Address:  0.0.0.0

Name:    reddog2.aedc
Address:  134.137.226.26

<33 /usr/tmp # nslookup bogushost
Server:  max
Address:  0.0.0.0

*** max can't find bogushost: Non-existent host/domain
<34 /usr/tmp # nslookup convex.com
Server:  max
Address:  0.0.0.0

. hangs here .
. hangs here .
. hangs here .
. hangs here .
. hangs here .
. hangs here .

<cntrl-c> to kill

<35 /usr/tmp # killall named



begin /usr/tmp/named.run logfile --------------------------------------------
Debug turned ON, Level 1
Debug turned ON, Level 2
Debug turned ON, Level 3
Debug turned ON, Level 4
Debug turned ON, Level 5
Debug turned ON, Level 6
Debug turned ON, Level 7
Debug turned ON, Level 8
Debug turned ON, Level 9
Debug turned ON, Level 10
Debug turned ON, Level 11

datagram from 134.137.226.2 port 1137, fd 5, len 26
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        max.aedc, type = A, class = IN

ns_req()
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        max.aedc, type = A, class = IN

req: nlookup(max.aedc) id 1 type=1
req: found 'max.aedc' as 'max.aedc' (cname=0)
wanted(1001d978, 1, 1) 1, 1
make_rr(max.aedc, 1001d978, 7fffa71a, 486, 1) 4 zone 1 ttl 0
finddata: added 1 class 1 type 1 RRs
req: foundname = 1 count = 1 founddata = 1 cname = 0
sort_response(1)
findns: np 0x1001d99c 'max'
match(0x1001d978, 1, 6) 1, 1
findns: np 0x10020c0c 'aedc'
match(0x10020bbc, 1, 6) 1, 6
findns: SOA found
req: leaving (max.aedc, rcode 0)
req: answer -> 134.137.226.2 5 (1137) id=1 Local
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  qr aa rd ra
        qdcount = 1, ancount = 1, nscount = 0, arcount = 0

QUESTIONS:
        max.aedc, type = A, class = IN

ANSWERS:
        max.aedc
        type = A, class = IN, ttl = 12 hours, dlen = 4
        internet address = 134.137.226.2


datagram from 134.137.226.2 port 1138, fd 5, len 29
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        mannix.aedc, type = A, class = IN

ns_req()
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        mannix.aedc, type = A, class = IN

req: nlookup(mannix.aedc) id 1 type=1
req: found 'mannix.aedc' as 'mannix.aedc' (cname=0)
wanted(1001db88, 1, 1) 1, 1
make_rr(mannix.aedc, 1001db88, 7fffa71d, 483, 1) 4 zone 1 ttl 0
finddata: added 1 class 1 type 1 RRs
req: foundname = 1 count = 1 founddata = 1 cname = 0
sort_response(1)
findns: np 0x1001dbac 'mannix'
match(0x1001db88, 1, 6) 1, 1
findns: np 0x10020c0c 'aedc'
match(0x10020bbc, 1, 6) 1, 6
findns: SOA found
req: leaving (mannix.aedc, rcode 0)
req: answer -> 134.137.226.2 5 (1138) id=1 Local
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  qr aa rd ra
        qdcount = 1, ancount = 1, nscount = 0, arcount = 0

QUESTIONS:
        mannix.aedc, type = A, class = IN

ANSWERS:
        mannix.aedc
        type = A, class = IN, ttl = 12 hours, dlen = 4
        internet address = 134.137.226.25


datagram from 134.137.226.2 port 1139, fd 5, len 30
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        reddog2.aedc, type = A, class = IN

ns_req()
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        reddog2.aedc, type = A, class = IN

req: nlookup(reddog2.aedc) id 1 type=1
req: found 'reddog2.aedc' as 'reddog2.aedc' (cname=0)
wanted(1001dbd4, 1, 1) 1, 1
make_rr(reddog2.aedc, 1001dbd4, 7fffa71e, 482, 1) 4 zone 1 ttl 0
finddata: added 1 class 1 type 1 RRs
req: foundname = 1 count = 1 founddata = 1 cname = 0
sort_response(1)
findns: np 0x1001dbf8 'reddog2'
match(0x1001dbd4, 1, 6) 1, 1
findns: np 0x10020c0c 'aedc'
match(0x10020bbc, 1, 6) 1, 6
findns: SOA found
req: leaving (reddog2.aedc, rcode 0)
req: answer -> 134.137.226.2 5 (1139) id=1 Local
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  qr aa rd ra
        qdcount = 1, ancount = 1, nscount = 0, arcount = 0

QUESTIONS:
        reddog2.aedc, type = A, class = IN

ANSWERS:
        reddog2.aedc
        type = A, class = IN, ttl = 12 hours, dlen = 4
        internet address = 134.137.226.26


datagram from 134.137.226.2 port 1140, fd 5, len 32
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        bogushost.aedc, type = A, class = IN

ns_req()
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        bogushost.aedc, type = A, class = IN

req: nlookup(bogushost.aedc) id 1 type=1
req: found 'bogushost.aedc' as 'aedc' (cname=0)
findns: np 0x10020c0c 'aedc'
match(0x10020bbc, 1, 6) 1, 6
findns: SOA found
req: leaving (bogushost.aedc, rcode 3)
make_rr(aedc, 10020bbc, 7fffa720, 480, 1) 49 zone 1 ttl 0
req: answer -> 134.137.226.2 5 (1140) id=1 Local
HEADER:
        opcode = QUERY, id = 1, rcode = NXDOMAIN
        header flags:  qr aa rd ra
        qdcount = 1, ancount = 0, nscount = 1, arcount = 0

QUESTIONS:
        bogushost.aedc, type = A, class = IN

NAME SERVERS:
        aedc
        type = SOA, class = IN, ttl = 12 hours, dlen = 39
        origin = max.aedc
        mail addr = postmaster.max.aedc
        serial = 46
        refresh = 5 mins
        retry = 1 min
        expire = 14 days
        min = 12 hours


datagram from 134.137.226.2 port 1141, fd 5, len 33
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        convex.com.aedc, type = A, class = IN

ns_req()
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        convex.com.aedc, type = A, class = IN

req: nlookup(convex.com.aedc) id 1 type=1
req: found 'convex.com.aedc' as 'aedc' (cname=0)
findns: np 0x10020c0c 'aedc'
match(0x10020bbc, 1, 6) 1, 6
findns: SOA found
req: leaving (convex.com.aedc, rcode 3)
make_rr(aedc, 10020bbc, 7fffa721, 479, 1) 49 zone 1 ttl 0
req: answer -> 134.137.226.2 5 (1141) id=1 Local
HEADER:
        opcode = QUERY, id = 1, rcode = NXDOMAIN
        header flags:  qr aa rd ra
        qdcount = 1, ancount = 0, nscount = 1, arcount = 0

QUESTIONS:
        convex.com.aedc, type = A, class = IN

NAME SERVERS:
        aedc
        type = SOA, class = IN, ttl = 12 hours, dlen = 39
        origin = max.aedc
        mail addr = postmaster.max.aedc
        serial = 46
        refresh = 5 mins
        retry = 1 min
        expire = 14 days
        min = 12 hours


datagram from 134.137.226.2 port 1142, fd 5, len 28
HEADER:
        opcode = QUERY, id = 2, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        convex.com, type = A, class = IN

ns_req()
HEADER:
        opcode = QUERY, id = 2, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        convex.com, type = A, class = IN

req: nlookup(convex.com) id 2 type=1
req: missed 'convex.com' as '' (cname=0)
findns: using cache
findns: using hints
findns: np 0x1001eb08 ''
findns: 1 NS's added for ''
ns_forw()
qnew(x1001e3f8)
nslookup(nsp=x7fffa4c4,qp=x1001e3f8)
nslookup: NS max.aedc c1 t2 (x1)
nslookup: 0 ns addrs
nslookup: 0 ns addrs total
forw: no nameservers found
qfree( x1001e3f8 )
findns: using cache
findns: using hints
findns: np 0x1001eb08 ''
findns: 1 NS's added for ''
ns_forw()
qnew(x1001e3f8)
nslookup(nsp=x7fffa4c4,qp=x1001e3f8)
nslookup: NS max.aedc c1 t2 (x1)
nslookup: 0 ns addrs
nslookup: 0 ns addrs total
forw: no nameservers found
qfree( x1001e3f8 )
findns: using cache
findns: using hints
findns: np 0x1001eb08 ''
findns: 1 NS's added for ''
ns_forw()
qnew(x1001e3f8)
nslookup(nsp=x7fffa4c4,qp=x1001e3f8)
nslookup: NS max.aedc c1 t2 (x1)
nslookup: 0 ns addrs
nslookup: 0 ns addrs total
forw: no nameservers found
qfree( x1001e3f8 )
findns: using cache
findns: using hints

. 
. 
. 
. 
. 
goes on forever.........

end /usr/tmp/named.run logfile --------------------------------------------


Any hints about either of these two problems?  Is there a bug in named and
pandora?


  vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
  | Kenneth M. McDonald * OAO Corp * Arnold Engineering Development Center |
  | EAF Bldg * 1103 Avenue B * Arnold AFB, TN 37389-1200 * (615) 454-3413  |
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  INTERNET:                                                    LOCAL:
  mcdonald@aedc-vax.af.mil                                     c60244@mannix