If DLG isn't enabled (bind9+view + zone file , no DB is used), the additional 
section is right.  Maybe it's a bug of Bind DLG.
What I wanted is as follows :
$ dig @10.3.103.177 www.ctyun.cn
; <<>> DiG 9.6-ESV-R10-P1 <<>> @10.3.103.177 www.ctyun.cn
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30600
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;www.ctyun.cn.                  IN      A
;; ANSWER SECTION:
www.ctyun.cn.           3600    IN      A       211.162.106.2
www.ctyun.cn.           3600    IN      A       211.162.106.1
;; AUTHORITY SECTION:
ctyun.cn.               3600    IN      NS      ns1.ctyun.cn.
ctyun.cn.               3600    IN      NS      ns2.ctyun.cn.
;; ADDITIONAL SECTION:
ns1.ctyun.cn.           3600    IN      A       211.16.106.251
ns2.ctyun.cn.           3600    IN      A       211.16.106.252

;; Query time: 137 msec
;; SERVER: 10.3.103.177#53(10.3.103.177)
;; WHEN: Thu Dec 19 08:43:58 
;; MSG SIZE  rcvd: 130
 
 

 
> Date: Wed, 18 Dec 2013 18:09:56 +0000
> Subject: Re: missing ‘additional section’
> From: sjc...@gmail.com
> To: houguang...@hotmail.com
> CC: bind-users@lists.isc.org
> 
> On 18 December 2013 15:19, houguanghua <houguang...@hotmail.com> wrote:
> >
> > When I do a DIG, ‘additional section’ isn’t in the response. My bind
> > environment is: bind 9.8.6P1 + mysql (OS: Centos).
> >
> > Is there any way to enable the Additional Section? Thanks.
> >
> 
> What are you expecting to see in the additional section?
> 
> Your DNS server responded with an Authoritative response, there is no
> additional data that it needs to send you.
> 
> Steve
                                          
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to