It might be worth pointing out
a) that you're trying to recursively query a non-recursive nameserver
b) that the MX record is technically superfluous, since its target is
the same as the owner name, and all mail clients will fail over to doing
an A query of the same name if no MX record is present. I understand,
however, that if your negative-caching parameter for the zone needs to
be low for some reason (relative to your positive-caching 1-day TTL),
then the presence of the MX record might save you a certain amount of
query traffic, and therefore serve a practical purpose even if "redundant".
- Kevin
On 8/3/2010 12:08 AM, rams wrote:
Hi ,
I have data as follows
a.rameshops5446.com <http://a.rameshops5446.com>. 86400 IN A 1.2.3.1
a.rameshops5446.com <http://a.rameshops5446.com>. 86400 IN MX 10
a.rameshops5446.com <http://a.rameshops5446.com>.
I queried domain "a.rameshops5446.com <http://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 <http://a.rameshops5446.com>. any
; <<>> DiG 9.6.1-P3 <<>> @localhost a.rameshops5446.com
<http://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 <http://a.rameshops5446.com>. IN ANY
;; ANSWER SECTION:
a.rameshops5446.com <http://a.rameshops5446.com>. 86400 IN
MX 10 a.rameshops5446.com <http://a.rameshops5446.com>.
a.rameshops5446.com <http://a.rameshops5446.com>. 86400 IN
A 1.2.3.1
;; AUTHORITY SECTION:
rameshops5446.com <http://rameshops5446.com>. 86400 IN NS
udns2.ultradns.net <http://udns2.ultradns.net>.
rameshops5446.com <http://rameshops5446.com>. 86400 IN NS
udns1.ultradns.net <http://udns1.ultradns.net>.
;; ADDITIONAL SECTION:
a.rameshops5446.com <http://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
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users