BIND sometimes doesnt return additional recs when querying SOA ?

Barry Margolin barmar at genuity.net
Thu Jun 28 14:29:47 UTC 2001


In article <9hfb6e$sof at pub3.rc.vix.com>,
Anthony Golia  <Anthony.Golia at morganstanley.com> wrote:
>in my example the answer section IS for mydomain.com (although the query
>was for foo.mydomain.com, there is no SOA for foo.mydomain.com),
>however, the server doesn't include the additional recs.

No, the SOA record is in the Authority section, not the Answer section.
Here's the response extracted straight from your post; see where it says
"ANSWER: 0, AUTHORITY: 1"?

; <<>> DiG 8.3 <<>> @somehost.mydomain.com. foo.mydomain.com. soa
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      foo.mydomain.com, type = SOA, class = IN
 
;; AUTHORITY SECTION:
mydomain.com.                   30M IN SOA      somehost.mydomain.com.
hostmaster.mydomain.com. (
                                        993670471       ; serial
                                        10M             ; refresh
                                        1M              ; retry
                                        1W              ; expiry
                                        30M )           ; minimum


-- 
Barry Margolin, barmar at genuity.net
Genuity, 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