Comments (8)
This is not a dnsrecon issue it's a dnspython issue
from dnsrecon.
The dnspython issue is known to be working in some release? Can a proper version be suggested? If not dnsrecon should resolv the name and call dnspython with the IP.
from dnsrecon.
It looks to me like this is intended to be supported?
Starting around https://github.com/darkoperator/dnsrecon/blame/master/dnsrecon/cli.py#L1557, we iterate over the nameserver argument(s). Line 1565 seems to be resolving provided nameserver hostnames to IPs:
# Resolve in the case if FQDN
answer = socket_resolv(entry)
...The problem is the quoted error is thrown when entry
is used first thing in the loop, line 1558, before it has been resolved. It makes sense that you can't tell your DNS library to use a hostname to send requests to, since... it needs to have an IP to send to. Should the resolve check simply be moved earlier in the for loop? Or if there's no intention to support --name_servers
arguments of hostnames, dnsrecon could reject them with a cleaner error message, and probably s/Domain server to use/Domain server IP to use/
in the usage, as well.
from dnsrecon.
from dnsrecon.
from dnsrecon.
from dnsrecon.
More than happy to except a PR if you would like to contribute a fix?
Sure, I'll try to get to it and/or assign an intern to it :)
My inclination would be to go ahead and support expanding a name to IP(s), like the code currently seems to try to do. But if the preference is to only support IPs in light of @darkoperator's comment, and to make relevant usage/error updates, please let me know.
from dnsrecon.
from dnsrecon.
Related Issues (20)
- Bug: Receiving Error on WSL Kali HOT 7
- [Bug] crt.sh search enumeration fails on read timeout HOT 2
- Crash after install python3 HOT 3
- [Bug] False positive in TLD research HOT 2
- BIND version not checked
- Reverse Lookup Range is Exclusive HOT 2
- [Feature Request] Support multiple ranges with -r / --range HOT 1
- To erase duplicate with the next one, big fingers ;-)
- There are a lot of results missing. HOT 2
- [Bug] Bruteforce subdomains using a dictionary HOT 6
- [Bug|Feature Request|Other] Resolver' object has no attribute 'resolve' HOT 5
- AttributeError: module 'urllib' has no attribute 'urlopen'. I tried urllib.request.urlopen, but another AttributeError showed. Any fixes? HOT 1
- [Bug] Prevent infinite loop during ds_zone_walk HOT 2
- crt.sh feature fails when using DB output
- Other - Memory usage optimization HOT 2
- [Bug] `-n`-Flag Nameserver not respected in `dns_sec_check()` HOT 5
- dnsrecon problem HOT 2
- [Bug] Fix packaging approach
- [Bug] Test Zone Transfer Fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnsrecon.