about the additional section

风河 shorttag at gmail.com
Fri Sep 2 03:45:49 UTC 2011


On Fri, Sep 2, 2011 at 11:36 AM, Mark Andrews <marka at isc.org> wrote:

> Named doesn't return records tagged as additional in the additional
> section.  This stops the propogation of bogus records.  Note there
> is no requirement for additional records to be added ever.  Glue
> records are not additional records even though they are in the
> additional section.
>

Thank you Mark.
But why this named does returned additional section?

pyh at dwdns5:~$ dig txt chaos version.bind @119.147.163.133

; <<>> DiG 9.6.1-P2 <<>> txt chaos version.bind @119.147.163.133
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40335
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;version.bind.                  CH      TXT

;; ANSWER SECTION:
version.bind.           0       CH      TXT     "9.6.1-P2"

;; AUTHORITY SECTION:
version.bind.           0       CH      NS      version.bind.

;; Query time: 0 msec
;; SERVER: 119.147.163.133#53(119.147.163.133)
;; WHEN: Fri Sep  2 11:44:03 2011
;; MSG SIZE  rcvd: 65

pyh at dwdns5:~$ dig www.google.com @119.147.163.133

; <<>> DiG 9.6.1-P2 <<>> www.google.com @119.147.163.133
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2183
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 4, ADDITIONAL: 1

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         515063  IN      CNAME   www.l.google.com.
www.l.google.com.       300     IN      A       74.125.71.105
www.l.google.com.       300     IN      A       74.125.71.106
www.l.google.com.       300     IN      A       74.125.71.147
www.l.google.com.       300     IN      A       74.125.71.99
www.l.google.com.       300     IN      A       74.125.71.103
www.l.google.com.       300     IN      A       74.125.71.104

;; AUTHORITY SECTION:
google.com.             83063   IN      NS      ns3.google.com.
google.com.             83063   IN      NS      ns4.google.com.
google.com.             83063   IN      NS      ns1.google.com.
google.com.             83063   IN      NS      ns2.google.com.

;; ADDITIONAL SECTION:
ns1.google.com.         255954  IN      A       216.239.32.10

;; Query time: 60 msec
;; SERVER: 119.147.163.133#53(119.147.163.133)
;; WHEN: Fri Sep  2 11:44:13 2011
;; MSG SIZE  rcvd: 236



More information about the bind-users mailing list