DIG
; <<>> DiG 8.2 <<>> iss.net
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 9,
ADDITIONAL: 9
;; QUERY SECTION:
;;iss.net, type = A, class = IN
;; ANSWER SECTION:
iss.net.57m50s IN A208.21.0.19
;; AUTHORITY SECTION:
iss.net.56S IN NSehecatl.iss.net.
iss.net.56S IN NSsfld-ns1.netrex.com.
iss.net.56S IN NSchcg-ns1.netrex.com.
iss.net.56S IN NSdnvr-ns1.netrex.com.
iss.net.56S IN NSns1-auth.sprintlink.net.
iss.net.56S IN NSns2-auth.sprintlink.net.
iss.net.56S IN NSns3-auth.sprintlink.net.
iss.net.56S IN NSphoenix.iss.net.
iss.net.56S IN NSns.commandcorp.com.
;; ADDITIONAL SECTION:
ehecatl.iss.net.10h46m41s IN A208.21.0.7
sfld-ns1.netrex.com.1d51m59s IN A206.253.239.135
chcg-ns1.netrex.com.1d51m59s IN A216.89.220.19
dnvr-ns1.netrex.com.26m40s IN A206.253.249.130
ns1-auth.sprintlink.net. 2h20m39s IN A 206.228.179.10
ns2-auth.sprintlink.net. 23h57m52s IN A 144.228.254.10
ns3-auth.sprintlink.net. 23h55m30s IN A 144.228.255.10
phoenix.iss.net.57S IN A208.21.0.13
ns.commandcorp.com.1d1h16m53s IN A 130.205.70.10
;; Total query time: 309 msec
;; FROM: server to SERVER: default -- 193.118.6.35
;; WHEN: Fri Jul 14 08:54:07 2000
;; MSG SIZE sent: 25 rcvd: 420
Performing a Zone Transfer
As with NSLookup, DIG can also be used to request a full zone transfer
once an authoritative name server for the target domain has been
identified.
dig @dns0.target.com target.com axfr > tmp.txt
The parameters provided for the command above are -
Command/Parameter Action
@dns0.target.com Type the name of an authoritative
name server for the target domain,
preceding is with a ’@’.
target.com This is the name of the target domain.
axfr Specifies that a full zone transfer will
be requested.
>tmp.txt The results will be output to a file
called tmp.txt.
No comments:
Post a Comment