-
Notifications
You must be signed in to change notification settings - Fork 867
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
Full URL is sent to DNS resolver #695
Comments
@TheTechromancer thanks a lot for pointing this out, we were already investigating something which might be related to this (not confirmed). |
@TheTechromancer Thanks for opening the issue. I can confirm that the five consecutive requests with the same request-id of type A and AAAA seem to match the retryabledns default settings. Anyway, a few things are unclear. For example, the full URL |
The target corresponding to the wireshark screenshot was
Just now I went back to verify this, and strangely I am no longer seeing the URL in the capture. I'm unsure why this is, since I'm using the same binary as before (version 1.2.3), but the DNS requests still seem to fail against the custom resolver. |
I suspect the problem might be between https://github.com/projectdiscovery/retryabledns and the custom resolver. Would it be possible to provide more information about it: DNS server software used? Any particular configuration? |
Sure. It is an Active Directory domain controller running Windows Server 2012 R2 with the DNS server role and a default configuration. The forwarder (upstream DNS server) is set to 8.8.8.8. |
On Hold - Not reproducible, will need a custom setup similar to the described scenario. |
The issue can't be reproduced - It seems more related to the OS configuration than the go app itself. By default, we already use system resolvers in retryabledns. |
I had the same issue with the latest version of httpx (1.3.9), curl was working fine but not httpx, I fixed that by using |
Hello,
Recently in our testing we have noticed that when provided URLs, httpx sometimes fails to resolve DNS hosts:
Inspecting the traffic in wireshark reveals that httpx is passing the full URL to the DNS server:
The text was updated successfully, but these errors were encountered: