nsupdate not hitting all master servers

Dano Carroll dano at dazel.com
Wed Jan 26 23:42:19 UTC 2000


In attempting to dynamically update two primary servers, I've run into
a problem. It seems that nsupdate doesn't seem to update all the
primary nameservers in a domain. It will update one or the other in
what seems to be a random fashion. The following nsupdate output seems
to indicate that nsupdate gets the proper list of nameservers, but
that it seems to try to update 15.23.62.6 and doesn't even try to
update 15.23.62.18, which is the host that I'm running nsupdate
on. Now a comment in the code says that nsupdate will stop if it
encounters an error, but I don't see an obvious error in the output.

						      Thanks,
						      Dano

starting update
prereq yxdomain cosmos.qa.dazel.com

update delete cosmos.qa.dazel.com IN A 172.17.1.75

;; res_nmkquery(QUERY, cosmos.qa.dazel.com., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23329
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	cosmos.qa.dazel.com, type = SOA, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23329
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;	cosmos.qa.dazel.com, type = SOA, class = IN

;; AUTHORITY SECTION:
qa.dazel.com.		1D IN SOA	austin.qa.dazel.com. dano.dazel.com. (
					3		; serial
					3H		; refresh
					1H		; retry
					1W		; expiry
					1D )		; minimum


;; res_nmkquery(QUERY, qa.dazel.com, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23330
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	qa.dazel.com, type = NS, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23330
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;;	qa.dazel.com, type = NS, class = IN

;; ANSWER SECTION:
qa.dazel.com.		1D IN NS	texatrium.austin.hp.com.
qa.dazel.com.		1D IN NS	austin.austin.hp.com.

;; ADDITIONAL SECTION:
texatrium.austin.hp.com.  1D IN A  15.23.62.6
austin.austin.hp.com.	1D IN A		15.23.62.18

;; res_nmkquery(QUERY, cosmos.qa.dazel.com., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23331
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	cosmos.qa.dazel.com, type = SOA, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23331
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;	cosmos.qa.dazel.com, type = SOA, class = IN

;; AUTHORITY SECTION:
qa.dazel.com.		1D IN SOA	austin.qa.dazel.com. dano.dazel.com. (
					3		; serial
					3H		; refresh
					1H		; retry
					1W		; expiry
					1D )		; minimum


;; res_nmkquery(QUERY, qa.dazel.com, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23332
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	qa.dazel.com, type = NS, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23332
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;;	qa.dazel.com, type = NS, class = IN

;; ANSWER SECTION:
qa.dazel.com.		1D IN NS	austin.austin.hp.com.
qa.dazel.com.		1D IN NS	texatrium.austin.hp.com.

;; ADDITIONAL SECTION:
austin.austin.hp.com.	1D IN A		15.23.62.18
texatrium.austin.hp.com.  1D IN A  15.23.62.6

;; res_send()
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 23333
;; flags:; ZONE: 1, PREREQUISITE: 1, UPDATE: 1, ADDITIONAL: 0
;;	qa.dazel.com, type = SOA, class = IN
cosmos.qa.dazel.com.	0S ANY ANY	\#(		; unknown RR type
cosmos.qa.dazel.com.	0S NONE A	172.17.1.75
;; Querying server (# 1) address = 15.23.62.6
;; got answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 23333
;; flags: qr ra; ZONE: 0, PREREQUISITE: 0, UPDATE: 0, ADDITIONAL: 0

starting update
prereq yxdomain 75.1.17.172.in-addr.arpa.

update delete 75.1.17.172.in-addr.arpa. IN PTR cosmos.qa.dazel.com.

;; res_nmkquery(QUERY, 75.1.17.172.in-addr.arpa., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32570
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	75.1.17.172.in-addr.arpa, type = SOA, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 32570
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;	75.1.17.172.in-addr.arpa, type = SOA, class = IN

;; AUTHORITY SECTION:
17.172.in-addr.arpa.	1D IN SOA	austin.qa.dazel.com. dano.dazel.com. (
					6		; serial
					3H		; refresh
					1H		; retry
					1W		; expiry
					1D )		; minimum


;; res_nmkquery(QUERY, 17.172.in-addr.arpa, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32571
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	17.172.in-addr.arpa, type = NS, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32571
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;;	17.172.in-addr.arpa, type = NS, class = IN

;; ANSWER SECTION:
17.172.in-addr.arpa.	1D IN NS	texatrium.austin.hp.com.
17.172.in-addr.arpa.	1D IN NS	austin.austin.hp.com.

;; ADDITIONAL SECTION:
texatrium.austin.hp.com.  1D IN A  15.23.62.6
austin.austin.hp.com.	1D IN A		15.23.62.18

;; res_nmkquery(QUERY, 75.1.17.172.in-addr.arpa., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32572
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	75.1.17.172.in-addr.arpa, type = SOA, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 32572
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;	75.1.17.172.in-addr.arpa, type = SOA, class = IN

;; AUTHORITY SECTION:
17.172.in-addr.arpa.	1D IN SOA	austin.qa.dazel.com. dano.dazel.com. (
					6		; serial
					3H		; refresh
					1H		; retry
					1W		; expiry
					1D )		; minimum


;; res_nmkquery(QUERY, 17.172.in-addr.arpa, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32573
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	17.172.in-addr.arpa, type = NS, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32573
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;;	17.172.in-addr.arpa, type = NS, class = IN

;; ANSWER SECTION:
17.172.in-addr.arpa.	1D IN NS	austin.austin.hp.com.
17.172.in-addr.arpa.	1D IN NS	texatrium.austin.hp.com.

;; ADDITIONAL SECTION:
austin.austin.hp.com.	1D IN A		15.23.62.18
texatrium.austin.hp.com.  1D IN A  15.23.62.6

;; res_send()
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 32574
;; flags:; ZONE: 1, PREREQUISITE: 1, UPDATE: 1, ADDITIONAL: 0
;;	17.172.in-addr.arpa, type = SOA, class = IN
75.1.17.172.in-addr.arpa.  0S ANY ANY  \#(		; unknown RR type
75.1.17.172.in-addr.arpa.  0S NONE PTR  cosmos.qa.dazel.com.
;; Querying server (# 1) address = 15.23.62.6
;; got answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 32574
;; flags: qr ra; ZONE: 0, PREREQUISITE: 0, UPDATE: 0, ADDITIONAL: 0

starting update
update add cosmos.qa.dazel.com 3600 IN A 172.17.1.75

;; res_nmkquery(QUERY, cosmos.qa.dazel.com., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50513
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	cosmos.qa.dazel.com, type = SOA, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 50513
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;	cosmos.qa.dazel.com, type = SOA, class = IN

;; AUTHORITY SECTION:
qa.dazel.com.		1D IN SOA	austin.qa.dazel.com. dano.dazel.com. (
					3		; serial
					3H		; refresh
					1H		; retry
					1W		; expiry
					1D )		; minimum


;; res_nmkquery(QUERY, qa.dazel.com, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50514
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	qa.dazel.com, type = NS, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50514
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;;	qa.dazel.com, type = NS, class = IN

;; ANSWER SECTION:
qa.dazel.com.		1D IN NS	texatrium.austin.hp.com.
qa.dazel.com.		1D IN NS	austin.austin.hp.com.

;; ADDITIONAL SECTION:
texatrium.austin.hp.com.  1D IN A  15.23.62.6
austin.austin.hp.com.	1D IN A		15.23.62.18

;; res_send()
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 50515
;; flags:; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
;;	qa.dazel.com, type = SOA, class = IN
cosmos.qa.dazel.com.	1H IN A		172.17.1.75
;; Querying server (# 1) address = 15.23.62.6
;; got answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 50515
;; flags: qr ra; ZONE: 0, PREREQUISITE: 0, UPDATE: 0, ADDITIONAL: 0

starting update
update add 75.1.17.172.in-addr.arpa. 3600 IN PTR cosmos.qa.dazel.com.

;; res_nmkquery(QUERY, 75.1.17.172.in-addr.arpa., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51839
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	75.1.17.172.in-addr.arpa, type = SOA, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 51839
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;	75.1.17.172.in-addr.arpa, type = SOA, class = IN

;; AUTHORITY SECTION:
17.172.in-addr.arpa.	1D IN SOA	austin.qa.dazel.com. dano.dazel.com. (
					6		; serial
					3H		; refresh
					1H		; retry
					1W		; expiry
					1D )		; minimum


;; res_nmkquery(QUERY, 17.172.in-addr.arpa, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51840
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;	17.172.in-addr.arpa, type = NS, class = IN

;; Querying server (# 1) address = 15.23.62.18
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51840
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;;	17.172.in-addr.arpa, type = NS, class = IN

;; ANSWER SECTION:
17.172.in-addr.arpa.	1D IN NS	texatrium.austin.hp.com.
17.172.in-addr.arpa.	1D IN NS	austin.austin.hp.com.

;; ADDITIONAL SECTION:
texatrium.austin.hp.com.  1D IN A  15.23.62.6
austin.austin.hp.com.	1D IN A		15.23.62.18

;; res_send()
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 51841
;; flags:; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
;;	17.172.in-addr.arpa, type = SOA, class = IN
75.1.17.172.in-addr.arpa.  1H IN PTR  cosmos.qa.dazel.com.
;; Querying server (# 1) address = 15.23.62.6
;; got answer:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 51841
;; flags: qr ra; ZONE: 0, PREREQUISITE: 0, UPDATE: 0, ADDITIONAL: 0



--
Dano Carroll         | VM  (512)494-7300 x233 | "You want to be my friend? Well
DAZEL Corporation    | FAX (512)494-7394      | ok, but I don't want anybody
System Administrator |                        | thinkin' that I'm a robosexual.
                     |                        | If anyone asks, you're my 
                     |                        | debugger." - Bender, Futurama



More information about the bind-users mailing list