dig Queries - Different Answers
Barry Finkel
b19141 at achilles.ctd.anl.gov
Fri May 19 15:31:23 UTC 2006
I have two zones in DNS, and when I query for a record that was
recently removed from each zone I get a different response.
One query gives me NXDOMAIN and one gives me NOERROR. I thought that
the NOERROR reply meant that I queried for an "A" record; that record
does not exist but another record for the same name exists. But I
cannot find another record with that name in the zone. Why the
difference in the answer packets?
britaine% dig calendar.et.anl.gov
; <<>> DiG 8.3 <<>> calendar.et.anl.gov
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; calendar.et.anl.gov, type = A, class = IN
;; AUTHORITY SECTION:
et.anl.gov. 1D IN SOA dns0.anl.gov. hostmaster.anl.gov. (
2006051900 ; serial
2H ; refresh
1H ; retry
2W ; expiry
1W ) ; minimum
;; Total query time: 3 msec
;; FROM: britaine.ctd.anl.gov to SERVER: default -- 146.139.254.5
;; WHEN: Fri May 19 10:29:32 2006
;; MSG SIZE sent: 37 rcvd: 89
britaine% dig calendar.msd.anl.gov
; <<>> DiG 8.3 <<>> calendar.msd.anl.gov
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; calendar.msd.anl.gov, type = A, class = IN
;; AUTHORITY SECTION:
msd.anl.gov. 1D IN SOA dns0.anl.gov. hostmaster.anl.gov. (
2006051900 ; serial
2H ; refresh
1H ; retry
2W ; expiry
1W ) ; minimum
;; Total query time: 1 msec
;; FROM: britaine.ctd.anl.gov to SERVER: default -- 146.139.254.5
;; WHEN: Fri May 19 10:29:39 2006
;; MSG SIZE sent: 38 rcvd: 90
britaine%
----------------------------------------------------------------------
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory Phone: +1 (630) 252-7277
9700 South Cass Avenue Facsimile:+1 (630) 252-4601
Building 222, Room D209 Internet: BSFinkel at anl.gov
Argonne, IL 60439-4828 IBMMAIL: I1004994
More information about the bind-users
mailing list