dnsenum is a tool to collect DNS information, such as, A, NS, whois etc
In case of Fedora20, you can install dnsenum via yum.
# cat /etc/fedora-release ;uname -ri
Fedora release 20 (Heisenbug)
3.12.7-300.fc20.x86_64 x86_64
|
install
# yum install -y dnsenum.noarch
|
To check the usage, please type “dnsenum –help”
# dnsenum --help
dnsenum.pl VERSION:1.2
Usage: dnsenum.pl [Options] <domain>
[Options]:
Note: the brute force -f switch must be specified to be able to continue
the process execution.
GENERAL OPTIONS:
--dnsserver <server>
Use this DNS server for A, NS and MX queries.
--enum Shortcut option equivalent to --threads 5 -s 20 -w.
-h, --help Print this help message.
--noreverse Skip the reverse lookup operations.
|
Here are sample usages.
needs Net::WhoisIP module to get whois information.
# dnsenum -r -d 3 -w -r --dnsserver 192.168.0.100 isc.org
dnsenum.pl VERSION:1.2
Warning: can't load Net::Whois::IP module, whois queries desabled.
----- isc.org -----
-----------------
Host's addresses:
-----------------
isc.org. 49 IN A 149.20.64.69
-------------
Name servers:
-------------
ns.isc.afilias-nst.info. 86151 IN A 199.254.63.254
sfba.sns-pb.isc.org. 6951 IN A 149.20.64.3
ord.sns-pb.isc.org. 6951 IN A 199.6.0.30
ams.sns-pb.isc.org. 6951 IN A 199.6.1.30
-----------
MX record:
-----------
mx.pao1.isc.org. 3352 IN A 149.20.64.53
mx.ams1.isc.org. 3352 IN A 199.6.1.65
---------------------
Trying Zonetransfers:
---------------------
trying zonetransfer for isc.org on ns.isc.afilias-nst.info ...
trying zonetransfer for isc.org on sfba.sns-pb.isc.org ...
trying zonetransfer for isc.org on ord.sns-pb.isc.org ...
trying zonetransfer for isc.org on ams.sns-pb.isc.org ...
brute force file not specified, bay.
|
install Net::WhoisIP via yum
# yum install -y perl-Net-Whois-IP
|
try again.
# dnsenum -r -d 3 -w -r --dnsserver 192.168.0.100 isc.org -v
dnsenum.pl VERSION:1.2
----- isc.org -----
-----------------
Host's addresses:
-----------------
isc.org. 21 IN A 149.20.64.69
-------------
Name servers:
-------------
sfba.sns-pb.isc.org. 6770 IN A 149.20.64.3
ams.sns-pb.isc.org. 6770 IN A 199.6.1.30
ns.isc.afilias-nst.info. 85970 IN A 199.254.63.254
ord.sns-pb.isc.org. 6770 IN A 199.6.0.30
-----------
MX record:
-----------
mx.pao1.isc.org. 3171 IN A 149.20.64.53
mx.ams1.isc.org. 3171 IN A 199.6.1.65
---------------------
Trying Zonetransfers:
---------------------
trying zonetransfer for isc.org on sfba.sns-pb.isc.org ...
AXFR record query failed: Response code from server: REFUSED
trying zonetransfer for isc.org on ams.sns-pb.isc.org ...
AXFR record query failed: Response code from server: REFUSED
trying zonetransfer for isc.org on ns.isc.afilias-nst.info ...
AXFR record query failed: Response code from server: REFUSED
trying zonetransfer for isc.org on ord.sns-pb.isc.org ...
AXFR record query failed: Response code from server: REFUSED
----------------
Wildcards test:
----------------
good
brute force file not specified, bay.
|
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.