Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS enumeration doesn't work #148

Closed
gmalets opened this issue Nov 20, 2020 · 6 comments
Closed

DNS enumeration doesn't work #148

gmalets opened this issue Nov 20, 2020 · 6 comments
Labels

Comments

@gmalets
Copy link

gmalets commented Nov 20, 2020

Bug

I'm trying to play with dnsrecon on fresh updated kali 2020.04 and sometimes got errors.

Steps to reproduce the behaviour:

  1. Run tool like this:
    dnsrecon -d fubsybox.com
    dnsrecon -d agrotender.com.ua
    dnsrecon -d mail.ru

  2. See error

[*] Performing General Enumeration of Domain: fubsybox.com
[-] DNSSEC is not configured for fubsybox.com
[*]      NS ns2.time4vps.com 162.159.25.54
Traceback (most recent call last):
  File "./dnsrecon.py", line 1691, in <module>
    main()
  File "./dnsrecon.py", line 1651, in main
    std_enum_records = general_enum(res, domain, xfr, bing, yandex, spf_enum, do_whois, do_crt, zonewalk)
  File "./dnsrecon.py", line 934, in general_enum
    bind_ver = check_bindversion(res, ns_rcrd[2], res._res.timeout)
  File "./dnsrecon.py", line 847, in check_bindversion
    print_status(f"\t Bind Version for {ns_server} {response.answer[0].items[0].strings[0]}")
KeyError: 0

but if i try for example:
dnsrecon -d kali.org
dnsrecon -d microsoft.com
it works fine

System Information (System that tool is running on):

  • OS: Kali Linux
  • Version 2020.04
  • Version of dnsrecon: 0.9.1+git20200921-1
  • APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
@tehpr0
Copy link

tehpr0 commented Dec 3, 2020

Also with the same reproduceable issue

image

@NorthShad0w
Copy link

it seems that the zonetransfer module has some problems.

@darkoperator
Copy link
Owner

darkoperator commented Jan 5, 2021 via email

@pr0xylien
Copy link

use dnsrecon -d domain.com --disable_check_bindversion

@L1ghtn1ng
Copy link
Collaborator

We are going to disable the bind check by default and make it optional, this should resolve the issue

@L1ghtn1ng L1ghtn1ng added the Bug label Feb 7, 2021
@leebaird leebaird changed the title [Bug] DNS enumeration doesn't work DNS enumeration doesn't work Mar 8, 2021
@L1ghtn1ng
Copy link
Collaborator

This seems to be fixed as I cannot replicate it now with the latest git changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants