Clarification on ANY query

rams bramesh80 at gmail.com
Tue Aug 3 04:08:34 UTC 2010


Hi ,

I have data as follows

a.rameshops5446.com. 86400 IN A 1.2.3.1
a.rameshops5446.com. 86400 IN MX 10 a.rameshops5446.com.
I queried domain "a.rameshops5446.com" with type ANY against bind9.6 .

Actual Result:
Bind is returning above two records in answer section and also returning A
record in additional section as follows.

# dig @localhost a.rameshops5446.com. any
; <<>> DiG 9.6.1-P3 <<>> @localhost a.rameshops5446.com. any
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33411
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;a.rameshops5446.com.           IN      ANY
;; ANSWER SECTION:
a.rameshops5446.com.    86400   IN      MX      10 a.rameshops5446.com.
a.rameshops5446.com.    86400   IN      A       1.2.3.1
;; AUTHORITY SECTION:
rameshops5446.com.      86400   IN      NS      udns2.ultradns.net.
rameshops5446.com.      86400   IN      NS      udns1.ultradns.net.
;; ADDITIONAL SECTION:
a.rameshops5446.com.    86400   IN      A       1.2.3.1
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug  3 04:06:45 2010
;; MSG SIZE  rcvd: 137
Here my doubt is A record already returned in answer section why the same A
record is returning in additional section. I know if MX pointed record have
any A/AAAA records will return in additional section. but in above case
already the same A record returned in answer section. Is bind result
correct? could you please clarify me.

Thanks & Regards,
Ramesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20100803/553926e6/attachment.html>


More information about the bind-users mailing list