Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Dig"

From NetSec
Jump to: navigation, search
(No difference)

Revision as of 13:13, 3 September 2011

Domain Information Groper

Dis a command line tool used to query DNS servers, for example:

$ dig blackhatacademy.org

; <<>> DiG 9.7.3 <<>> blackhatacademy.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29669
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;blackhatacademy.org.		IN	A

;; ANSWER SECTION:
blackhatacademy.org.	30	IN	A	173.245.60.33
blackhatacademy.org.	30	IN	A	173.245.61.99

;; Query time: 18 msec
;; WHEN: Sat Sep  3 01:14:37 2011
;; MSG SIZE  rcvd: 69