DDNS 8.2.2 T3B

Kevin J. Dunlap kevind at metaip.checkpoint.com
Tue Aug 24 19:39:09 UTC 1999


Did something change in DDNS?

I have a solaris machine that I am running stock 8.2.2 t3b.
Extracted the tar file into a clean directory, used Makefile.set.gcc
Baked in compiler and installed.

Use an nsupdate that was known to work on another machine and
point it at the 8.2.2.t3b machine.

Response packet to the DNS packet is "FORMERR"

What changed?

-Kevin

[kevind at hammerhead dnstest]$ nsupdate -d
 > update add zip.wumpus.net. 300 in a 127.0.0.1
 >
;; res_mkquery(0, zip.wumpus.net, 1, 6)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47764
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;      zip.wumpus.net, type = SOA, class = IN
;; Querying server (# 1) address = 192.168.1.23
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 47764
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;;      zip.wumpus.net, type = SOA, class = IN
wumpus.net.             1D IN SOA       wumpus.wumpus.net. root.localhost. (
                                         146             ; serial
                                         3H              ; refresh
                                         30M             ; retry
                                         1W              ; expiry
                                         1D )            ; minimum

;; res_mkquery(0, wumpus.net, 1, 2)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47765
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;      wumpus.net, type = NS, class = IN
;; Querying server (# 1) address = 192.168.1.23
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47765
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;;      wumpus.net, type = NS, class = IN
wumpus.net.             1D IN NS        wumpus.wumpus.net.
wumpus.net.             1D IN NS        wiz.wumpus.net.
wumpus.wumpus.net.      1D IN A         192.168.1.23
wiz.wumpus.net.         1D IN A         192.168.1.243
res_mkupdate: packet size = 48
;; res_send()
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 47766
;; flags:; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
;;      wumpus.net, type = SOA, class = IN
zip.wumpus.net.         5M IN A         127.0.0.1
;; Querying server (# 1) address = 192.168.1.23
;; got answer:
;; ->>HEADER<<- opcode: UPDATE, status: FORMERR, id: 47766
;; flags: qr ra; ZONE: 0, PREREQUISITE: 0, UPDATE: 0, ADDITIONAL: 0

 >
==================================
name debug:

pselect(24, 0xf00060, 0x0, 0x0, 2377.650915000)
select() returns 1 (err: none)
Dispatch.File: fd 22, mask 0x1, func 0x29fe4, uap 0xdab50
datagram from [192.168.1.9].1178, fd 22, len 32
ns_req(from [192.168.1.9].1178)
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47764
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;	zip.wumpus.net, type = SOA, class = IN
req: nlookup(zip.wumpus.net) id 47764 type=6 class=1
req: found 'zip.wumpus.net' as 'wumpus.net' (cname=0)
findns: np 0xced88 'wumpus'
findns: SOA found
req: leaving (zip.wumpus.net, rcode 3)
make_rr(wumpus.net, d46e0, effff810, 468, 1) 53 zone 4 ttl 86400
free_nsp: wumpus.wumpus.net rcnt 1
doaddinfo() addcount = 1
do additional "wumpus.net" (from "wumpus.net")
found it
ns_req: answer -> [192.168.1.9].1178 fd=22 id=47764 size=99 rc=3
pselect(24, 0xf00060, 0x0, 0x0, 2364.668621000)
select() returns 1 (err: none)
Dispatch.File: fd 22, mask 0x1, func 0x29fe4, uap 0xdab50
datagram from [192.168.1.9].1179, fd 22, len 28
ns_req(from [192.168.1.9].1179)
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47765
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;	wumpus.net, type = NS, class = IN
req: nlookup(wumpus.net) id 47765 type=2 class=1
req: found 'wumpus.net' as 'wumpus.net' (cname=0)
wanted(0xd29fc, IN NS) [IN NS]
wanted(0xd56b8, IN NS) [IN NS]
wanted(0xd46e0, IN NS) [IN SOA]
wantedtsig(0xd29fc, IN NS) [IN NS]
wantedtsig(0xd56b8, IN NS) [IN NS]
wantedtsig(0xd46e0, IN NS) [IN SOA]
make_rr(wumpus.net, d29fc, effff80c, 472, 1) 18 zone 4 ttl 86400
make_rr(wumpus.net, d56b8, effff821, 451, 1) 15 zone 4 ttl 86400
finddata: added 2 class 1 type 2 RRs
req: foundname=1, count=2, founddata=1, cname=0
findns: np 0xced88 'wumpus'
findns: SOA found
req: leaving (wumpus.net, rcode 0)
free_nsp: wumpus.wumpus.net rcnt 1
findns: np 0xced88 'wumpus'
findns: 2 NS's added for 'wumpus'
free_nsp: wumpus.wumpus.net rcnt 1
free_nsp: wiz.wumpus.net rcnt 1
doaddinfo() addcount = 3
do additional "wumpus.wumpus.net" (from "wumpus.net")
found it
make_rr(wumpus.wumpus.net, c50a8, effff833, 433, 0) 4 zone 4 ttl 86400
addinfo: adding address data n = 16
do additional "wiz.wumpus.net" (from "wumpus.net")
found it
make_rr(wiz.wumpus.net, c5084, effff843, 417, 0) 4 zone 4 ttl 86400
addinfo: adding address data n = 16
do additional "wumpus.net" (from "wumpus.net")
found it
ns_req: answer -> [192.168.1.9].1179 fd=22 id=47765 size=99 rc=0
pselect(24, 0xf00060, 0x0, 0x0, 2364.659212000)
select() returns 1 (err: none)
Dispatch.File: fd 22, mask 0x1, func 0x29fe4, uap 0xdab50
datagram from [192.168.1.9].1180, fd 22, len 48
ns_req(from [192.168.1.9].1180)
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 47766
;; flags:; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
;;	wumpus.net, type = SOA, class = IN
zip.wumpus.net.		5M IN A		127.0.0.1
req_update: section ZONE, count 1
findzone(dname=wumpus.net, class=1, depth=0, zonelist=0xefffd4f8, 
maxzones=1025)
zone dump:
zone 1: ., class IN, type hint
	source named.root
	flags 40, serial 0, minimum 0
	refresh 0, retry 0, expire 0
	z_time 0
zone 2: 0.0.127.in-addr.arpa, class IN, type master
	source 0.0.127.in-addr.arpa.db
	flags 41, serial 1999050720, minimum 86400
	refresh 0, retry 3600, expire 604800
	z_time 0
zone 3: change.grp, class IN, type master
	source change.grp.db
	flags 441, serial 141, minimum 86400
	refresh 0, retry 1800, expire 604800
	z_time 0
	dumpintvl 3600, soaincrintvl 300 deferupdcnt 100
	z_soaincrtime 0
	z_dumptime 0
zone 4: wumpus.net, class IN, type master
	source wumpus.net.db
	flags 8c41, serial 146, minimum 86400
	refresh 0, retry 1800, expire 604800
	z_time 0
	dumpintvl 3600, soaincrintvl 300 deferupdcnt 100
	z_soaincrtime 0
	z_dumptime 935525303 (now 935522938, left: 2365)
zone 5: wiz.net, class IN, type slave
	source wiz.net.db.bak
	flags 8441, serial 199908717, minimum 86400
	refresh 10801, retry 3600, expire 604800
	z_time 935528799 (now 935522938, left: 5861)
about to strncasecmp('wumpus.net', 'change.grp', 10)
about to strncasecmp('wumpus.net', 'wumpus.net', 10)
match
findzone: returning 1 match(es)
req_update: update request for zone wumpus.net, class IN
req_update: failed to expand record
free_rrecp: update transaction aborted, rolling back
ns_req: answer -> [192.168.1.9].1180 fd=22 id=47766 size=12 rc=1
pselect(24, 0xf00060, 0x0, 0x0, 2364.648264000)



size=12 rc=1
pselect(24, 0xf00060, 0x0, 0x0, 2364.648264000)





More information about the bind-workers mailing list