Secondary updates on bind 8.1.2 solaris 7 X86

S0LARlSTEK at aol.com S0LARlSTEK at aol.com
Sat Oct 30 19:52:51 UTC 1999


This is really driving me nuts.  I think you are probably right barmar but 
the thing is that I can't get my secondary to update anything at all.  This 
is really strange.  On this same secondary server I was having a problem 
where port 53 would just die on me but the box would still be up and running. 
 But I havent had port 53 die in a while although it just wont update 
anything.

I am pretty new to the UNIX world meaning I have only been at this for a 
little over a year so I am still learning finding ways to make DNS better and 
so on.  I guess we can all learn from each other.  I have a question about 
this debugging stuff.

I ran the following command string that you gave me and this is what I got.  
It seems that there are lot of things telling me NOERROR.  Maybe there is 
something I am missing or is my secondary DNS box in need or reprogramming or 
replacement.

Secondary DNS is configured as follows:

200 Pentium 1 MMX
128 MB RAM
3.2GB Hard Drive
Solaris 7 X86

"named-xfer -z networkamerica.org -f /tmp/xfer.db -s 0 -d 3 -l /tmp/xfer.log 
216.32.58.6"

# more xfer.log.cHaWIa
domain `networkamerica.org'; file `/tmp/xfer.db'; serial 0; closed 0
zone found (2): "networkamerica.org", source = /tmp/xfer.db
addrcnt = 1
getzone() networkamerica.org secondary
connecting to server #1 [216.32.58.6].53
len = 174
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34087
;; flags: qr aa ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;;      networkamerica.org, type = SOA, class = IN
networkamerica.org.     1D IN SOA       ns1.websgt.net. webmaster.websgt.net. 
(
                                        1999101500      ; serial
                                        8H              ; refresh
                                        1H              ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

networkamerica.org.     1D IN NS        ns1.websgt.net.
networkamerica.org.     1D IN NS        ns2.jtinternet.com.
ns1.websgt.net.         1D IN A         216.32.58.6
ns2.jtinternet.com.     1D IN A         216.32.58.7
need update, serial 1999101500
len = 90 
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
networkamerica.org.     1D IN SOA       ns1.websgt.net. webmaster.websgt.net. 
(
                                        1999101500      ; serial
                                        8H              ; refresh
                                        1H              ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

print_output: dname networkamerica.org type 6 class 1 ttl 86400
len = 58
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
networkamerica.org.     1D IN NS        ns1.websgt.net.
print_output: dname networkamerica.org type 2 class 1 ttl 86400
len = 62
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
networkamerica.org.     1D IN NS        ns2.jtinternet.com.
print_output: dname networkamerica.org type 2 class 1 ttl 86400
len = 62
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
networkamerica.org.     1D IN MX        10 web60.websgt.net.
print_output: dname networkamerica.org type 15 class 1 ttl 86400
len = 46
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
networkamerica.org.     1D IN A         216.32.58.8
print_output: dname networkamerica.org type 1 class 1 ttl 86400
len = 56
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
localhost.networkamerica.org.  1D IN A  127.0.0.1
print_output: dname localhost.networkamerica.org type 1 class 1 ttl 86400
len = 50
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
www.networkamerica.org.  1D IN A  216.32.58.8
print_output: dname www.networkamerica.org type 1 class 1 ttl 86400
len = 90
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34088
;; flags: qr; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
networkamerica.org.     1D IN SOA       ns1.websgt.net. webmaster.websgt.net. 
(
                            1999101500      ; serial
                                        8H              ; refresh
                                        1H              ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

print_output: dname networkamerica.org type 6 class 1 ttl 86400
SOA, serial 1999101500
close(5) succeeded
fclose(3) succeeded
 
 This will create a file /tmp/xfer.log.<randomness> that contains the
 debugging information.

Here is what I get in my messages when I reboot the primary name server.

Oct 30 01:10:31 ns1     Generic-5.7-October 1998
Oct 30 01:10:32 ns1 named[716]: Ready to answer queries.
Oct 30 12:25:18 ns1 reboot: rebooted by primary
Oct 30 12:25:18 ns1 snmpdx: received signal 15
Oct 30 12:25:18 ns1 rpcbind: rpcbind terminating on signal.
Oct 30 12:27:30 ns1 unix: SunOS Release 5.7 Version Generic [UNIX(R) System V 
Re
lease 4.0]
Oct 30 12:27:30 ns1 unix: Copyright (c) 1983-1998, Sun Microsystems, Inc.
Oct 30 12:27:30 ns1 unix: mem = 261692K (0xff8f000)
Oct 30 12:27:30 ns1 unix: avail mem = 243093504
Oct 30 12:27:30 ns1 unix: root nexus = i86pc
Oct 30 12:27:30 ns1 unix: isa0 at root
Oct 30 12:27:30 ns1 unix: pci0 at root: space 0 offset 0
Oct 30 12:27:30 ns1 unix:       ATAPI device at targ 1, lun 0 lastlun 0x0
Oct 30 12:27:30 ns1 unix:       model BCD-40XH CD-ROM, stat 50, err 0
Oct 30 12:27:30 ns1 unix:               cfg 0x85c0, cyl 0, hd 0, sec/trk 0
Oct 30 12:27:30 ns1 unix:               mult1 0x0, mult2 0x0, dwcap 0x0, cap 
0xb
00
Oct 30 12:27:30 ns1 unix:               piomode 0x400, dmamode 0x200, 
advpiomode
 0x3
Oct 30 12:27:30 ns1 unix:               minpio 227, minpioflow 120
Oct 30 12:27:30 ns1 unix:               valid 0x6, dwdma 0x107, majver 0x0
Oct 30 12:27:30 ns1 unix: PCI-device: ata at 1, ata1
Oct 30 12:27:30 ns1 unix: ata1 is /pci at 0,0/pci-ide at 7,1/ata at 1
Oct 30 12:27:30 ns1 unix: sd1 at ata1: target 1 lun 0
Oct 30 12:27:30 ns1 unix: sd1 is /pci at 0,0/pci-ide at 7,1/ata at 1/sd at 1,0
Oct 30 12:27:30 ns1 unix: PCI-device: pci9004,7895 at 14, adp0
Oct 30 12:27:30 ns1 unix: PCI-device: pci9004,7895 at 14,1, adp1
Oct 30 12:27:30 ns1 unix: sd38 at adp1: target 6 lun 0
Oct 30 12:27:30 ns1 unix: sd38 is /pci at 0,0/pci9004,7895 at 14,1/sd at 6,0
Oct 30 12:27:30 ns1 unix:       <DEFAULT cyl 8185 alt 2 hd 5 sec 218>
Oct 30 12:27:30 ns1 unix: root on /pci at 0,0/pci9004,7895 at 14,1/sd at 6,0:a fstype 
ufs
Oct 30 12:27:30 ns1 unix: ISA-device: asy0
Oct 30 12:27:30 ns1 unix: asy0 is /isa/asy at 1,3f8
Oct 30 12:27:30 ns1 unix: ISA-device: asy1
Oct 30 12:27:30 ns1 unix: asy1 is /isa/asy at 1,2f8
Oct 30 12:27:30 ns1 unix: Number of console virtual screens = 13
Oct 30 12:27:30 ns1 unix: cpu 0 initialization complete - online
Oct 30 12:27:30 ns1 unix: Ethernet address = 0:90:27:44:d2:24
Oct 30 12:27:30 ns1 unix: iprb0: Intel 82557 V2 Driver: type "ether" mac 
address
 0:90:27:44:d2:24
Oct 30 12:27:30 ns1 unix: PCI-device: pci8086,c at 12, iprb0
Oct 30 12:27:30 ns1 unix: iprb0 is /pci at 0,0/pci8086,c at 12
Oct 30 12:27:30 ns1 unix: dump on /dev/dsk/c1t6d0s4 size 400 MB
Oct 30 12:27:35 ns1 unix: pseudo-device: pm0
Oct 30 12:27:35 ns1 unix: pm0 is /pseudo/pm at 0
Oct 30 12:27:36 ns1 sendmail[207]: My unqualified host name (ns1.) unknown; 
sleeping for retry
Oct 30 12:27:36 ns1 unix: pseudo-device: vol0
Oct 30 12:27:36 ns1 unix: vol0 is /pseudo/vol at 0
Oct 30 12:27:40 ns1 unix: ISA-device: fdc0
Oct 30 12:27:40 ns1 unix: fd0 at fdc0
Oct 30 12:27:40 ns1 unix: fd0 is /isa/fdc at 1,3f0/fd at 0,0
Oct 30 12:27:46 ns1 unix: ISA-device: asy0
Oct 30 12:27:46 ns1 unix: asy0 is /isa/asy at 1,3f8
Oct 30 12:27:46 ns1 unix: ISA-device: asy1
Oct 30 12:27:46 ns1 unix: asy1 is /isa/asy at 1,2f8
Oct 30 12:27:51 ns1 named[254]: Ready to answer queries.
Oct 30 12:27:53 ns1 unix: ISA-device: kdmouse0
Oct 30 12:27:53 ns1 unix: kdmouse0 is /isa/kdmouse at 1,60
Oct 30 12:28:36 ns1 sendmail[207]: unable to qualify my own domain name 
(ns1.) -
- using short name

In a message dated 10/28/99 9:14:24 AM Pacific Daylight Time, 
barmar at bbnplanet.com writes:

<< In article <199910280539.PAA20810 at bsdi.dv.isc.org>,
  <Mark_Andrews at iengines.com> wrote:
 >  Stop the master nameserver and restart it, then look at every
 >  message logged between starting and Ready to answer queries.
 >  You will have errors in the zone files.
 
 I suspect not.  I was able to get a zone transfer from his primary with no
 problem, so it seems like his slave should as well.
 
 % dig networkamerica.org axfr @ns1.websgt.net
 
 ; <<>> DiG 2.2 <<>> networkamerica.org axfr @ns1.websgt.net 
 ; (1 server found)
 networkamerica.org.    86400   SOA ns1.websgt.net. webmaster.websgt.net. (
            1999101500  ; serial
            28800   ; refresh (8 hours)
            3600    ; retry (1 hour)
            604800  ; expire (7 days)
            86400 ) ; minimum (1 day)
 networkamerica.org.    86400   NS  ns1.websgt.net.
 networkamerica.org.    86400   NS  ns2.jtinternet.com.
 networkamerica.org.    86400   MX  10 web60.websgt.net.
 networkamerica.org.    86400   A   216.32.58.8
 localhost.networkamerica.org.  86400   A   127.0.0.1
 www.networkamerica.org.    86400   A   216.32.58.8
 networkamerica.org.    86400   SOA ns1.websgt.net. webmaster.websgt.net. (
            1999101500  ; serial
            28800   ; refresh (8 hours)
            3600    ; retry (1 hour)
            604800  ; expire (7 days)
            86400 ) ; minimum (1 day)
 ;; Received 8 answers (8 records).
 ;; FROM: tools to SERVER: 216.32.58.6
 ;; WHEN: Thu Oct 28 11:47:11 1999
 
 Try running named-xfer with debugging and tracing enabled:
 
 named-xfer -z networkamerica.org -f /tmp/xfer.db -s 0 -d 3 -l /tmp/xfer.log 
216.32.58.6
 
 This will create a file /tmp/xfer.log.<randomness> that contains the
 debugging information.
 
 -- 
 Barry Margolin, barmar at bbnplanet.com
 GTE Internetworking, Powered by BBN, Burlington, MA
 *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
 Please DON'T copy followups to me -- I'll assume it wasn't posted to the 
group.
  >>


More information about the bind-users mailing list