On Tue, 1 Jun 2010, Matus UHLAR - fantomas wrote:

On 01.06.10 14:16, rams wrote:
I queried for cname domain against bind 9.6.X and got the following response
C:\Documents and Settings\rameshb>dig @localhost cname.td3497.com mx
; <<>> DiG 9.6.1-P1 <<>> @localhost cname.td3497.com mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 681
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;cname.td3497.com.              IN      MX
;; ANSWER SECTION:
cname.td3497.com.       86400   IN      CNAME   .
;; Query time: 15 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon May 31 14:10:32 2010
;; MSG SIZE  rcvd: 47

Here why authority section is not returned? Actually authority section
should be returned with SOA right?

For CNAME answers, the authority for destination (.) is returned and
authority is returned if it's known and configured.

And here it is known to be NXDOMAIN when the server is recursive:

[...@maplepark ~]$ dig cname.td3497.com. any

; <<>> DiG 9.7.0-P2 <<>> cname.td3497.com. any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6782
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;cname.td3497.com.              IN      ANY

;; AUTHORITY SECTION:
com. 864 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1275386123 1800 900 604800 86400

;; Query time: 0 msec
;; SERVER: 192.168.102.9#53(192.168.102.9)
;; WHEN: Tue Jun  1 04:56:13 2010
;; MSG SIZE  rcvd: 107

--
David Forrest Maple Park Development Corporation
St. Louis, Missouri
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to