About dig output

This is a discussion on About dig output within the Linux Administration forums, part of the Linux Forums category; Hi, I have some questions about the output reading of "dig" utility. When I executed "dig @202....


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-15-2004
Karan
 
Posts: n/a
Default About dig output

Hi,
I have some questions about the output reading of "dig" utility.

When I executed "dig @202.42.239.6 mydomain.com. any", the system
gives the output consists of a word "AUTHORITY: 2" but sometime it
stated as "AUTHORITY: 0".

Could somebody explain what is meant by "AUTHORITY: 2" and "AUTHORITY:
0"? What is the implication? Thanks.

; <<>> DiG 9.2.1 <<>> @202.42.239.6 mydomain.com. any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35022
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;mydomain.com. IN ANY


=================
; <<>> DiG 9.2.1 <<>> @202.42.239.6 mydomain.com. any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35022
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;mydomain.com. IN ANY
Reply With Quote
  #2 (permalink)  
Old 01-22-2004
vturner
 
Posts: n/a
Default Re: About dig output

Karan wrote:

> Hi,
> I have some questions about the output reading of "dig" utility.
>
> When I executed "dig @202.42.239.6 mydomain.com. any", the system
> gives the output consists of a word "AUTHORITY: 2" but sometime it
> stated as "AUTHORITY: 0".
>
> Could somebody explain what is meant by "AUTHORITY: 2" and "AUTHORITY:
> 0"? What is the implication? Thanks.
>
> ; <<>> DiG 9.2.1 <<>> @202.42.239.6 mydomain.com. any
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35022
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 2
>
> ;; QUESTION SECTION:
> ;mydomain.com. IN ANY
>
>
> =================
> ; <<>> DiG 9.2.1 <<>> @202.42.239.6 mydomain.com. any
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35022
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2
>
> ;; QUESTION SECTION:
> ;mydomain.com. IN ANY


It's simply the number of entries that appear under the different "sections"
of the dig output. For instance, "AUTHORITY: 4" means that there will be 4
entries under the ";; AUTHORITY SECTION" of the dig output: e.g

;; AUTHORITY SECTION:
excite.com. 130950 IN NS dns4.imgfarm.com.
excite.com. 130950 IN NS dns5.imgfarm.com.
excite.com. 130950 IN NS ns1-75.akam.net.
excite.com. 130950 IN NS ns1-95.akam.net.
^ note: 4 entries

The same is true for the "QUERY: x", "ANSWER: x", and "ADDITIONAL: x"
fields. It's a summary of the number of responses from each section of the
dig query.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0