Comments (4)
Thanks for replying. I can understand the decision, it makes sense that the public DNS servers can better handle the load. It might be helpful to explicitly state this in the documentation for each of the tools.
Is there any chance at at all that this had anything to do with initial failures? We noticed it in the first place being in an environment where 8.8.8.8,1.1.1.1, etc were suddenly blocked and the local system resolver wasn't very forgiving.
from fastdialer.
This is a deviation from the expected behavior, which is to use the host systems DNS configuration as a default. This is, for example, the way curl works.
@liquidsec this is actually intentional, using DefaultResolvers
instead of system resolver in all the PD tools as default and optionally support using system resolver when required, the reason being, unlike curl
, these tools dnsx/naabu/httpx/nuclei/tlsx
meant to used and required to perform large scale dns resolution and relying on system resolvers resulted into multiple failures initially mainly because system resolvers are not sufficient to work with large inputs.
from fastdialer.
@liquidsec Thanks for opening this issue. By default, fastdialer
, unless the user specifies otherwise, builds a list of base resolvers consisting of the public ones you provided (1.1.1.1:53, 1.0.0.1:53, 8.8.8.8:53, 8.8.4.4:53
) along with the default system resolvers. As you can see from the default options, by default, we parse the system resolver file (ref
fastdialer/fastdialer/options.go
Line 58 in 1250d5e
fastdialer/fastdialer/options.go
Line 57 in 1250d5e
I suspect that projectdiscovery/httpx#695 might be related to a different context, as the full URL doesn't match the one piped to the
httpx
tool, but the issue is still under investigation. Hopefully, with more details, it will be possible to determine the root cause.Please let me know if I can provide further information or if you have any possible improvements/suggestions. Thanks!
from fastdialer.
The code seems to cover already the case mentioned - Converting to discussion
from fastdialer.
Related Issues (20)
- Add support for tls impersonate in net.dialtls
- Add custom type for ip context arg
- utls with proxy HOT 2
- fastdialer ztls fallback + bug fix
- dns proxy HOT 2
- update utls
- How to slove this memory leak issue? HOT 3
- Add Allow/Exclusion List
- expose allow/deny options
- Use `recover()` to catch runtime panics
- In memory cache can be generically typed to avoid gob marshaling and reflection
- fix nil hostfile data during reuse
- Implement custom TLSConfig.Clone(...)
- Investigate parallel dial
- Failed to register hostIp in DialerHistory
- Custom IP shouldn't perform DNS resolution
- Use utils helper libraries
- Docs + Maintenance
- Add automatic release gh action
- Replace docs example with link to example folder
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 fastdialer.