Giter Club home page Giter Club logo

Comments (4)

liquidsec avatar liquidsec commented on August 17, 2024 1

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.

ehsandeep avatar ehsandeep commented on August 17, 2024

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.

Mzack9999 avatar Mzack9999 commented on August 17, 2024

@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

ResolversFile: true,
) and the hosts' file (ref
HostsFile: true,
). The default number of retries is 5, this ensures that after hitting the public resolvers, at least one system resolver is used.
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.

Mzack9999 avatar Mzack9999 commented on August 17, 2024

The code seems to cover already the case mentioned - Converting to discussion

from fastdialer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.