Repository navigation
Closed
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.
Description
httpx version: v1.7.4
Current Behavior:
$ httpx -u example.com -r /home/user/directory1/resolvers/resolvers-trusted.txt -v -debug
__ __ __ _ __
/ /_ / /_/ /_____ | |/ /
/ __ \/ __/ __/ __ \| /
/ / / / /_/ /_/ /_/ / |
/_/ /_/\__/\__/ .___/_/|_|
/_/
projectdiscovery.io
[INF] Current httpx version v1.7.4 (latest)
[DBG] Using resolvers: /home/user/directory1/resolvers/resolvers-trusted.txt
[WRN] UI Dashboard is disabled, Use -dashboard option to enable
[INF] Dumped HTTP request for https://example.com
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Accept-Charset: utf-8
Accept-Encoding: gzip
[INF] Dumped HTTP request for http://example.com
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123
Accept-Charset: utf-8
Accept-Encoding: gzip
[DBG] Failed 'http://example.com': Get "http://example.com": cause="no address found for host"but after cd /home/user/directory1 and then
httpx -u example.com -r resolvers/resolvers-trusted.txt -v -debug
it says -
__ __ __ _ __
/ /_ / /_/ /_____ | |/ /
/ __ \/ __/ __/ __ \| /
/ / / / /_/ /_/ /_/ / |
/_/ /_/\__/\__/ .___/_/|_|
/_/
projectdiscovery.io
[INF] Current httpx version v1.7.4 (latest)
[DBG] Using resolvers: 1.0.0.1,1.1.1.1,134.195.4.2,149.112.112.112,159.89.120.99,185.228.168.9,185.228.169.9,195.46.39.39,195.46.39.40,205.171.2.65,205.171.3.65,208.67.220.220,208.67.222.222,216.146.35.35,216.146.36.36,64.6.64.6,64.6.65.6,74.82.42.42,76.76.10.0,76.76.2.0,77.88.8.1,77.88.8.8,8.20.247.20,8.26.56.26,8.8.4.4,8.8.8.8,84.200.69.80,84.200.70.40,89.233.43.71,9.9.9.9,91.239.100.100
[WRN] UI Dashboard is disabled, Use -dashboard option to enable
[INF] Dumped HTTP request for https://example.com
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
Accept-Charset: utf-8
Accept-Encoding: gzip
[INF] Dumped HTTP response for https://example.com
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Age: 4385
Allow: GET, HEAD
Cf-Cache-Status: HIT
Cf-Ray: 9b80bd1b5e09b8bf-BOM
Content-Type: text/html
Date: Sat, 03 Jan 2026 07:21:19 GMT
Last-Modified: Sat, 03 Jan 2026 05:42:27 GMT
Server: cloudflare
Vary: Accept-Encoding
201
<!doctype html><html lang="en"><head><title>Example Domain</title><meta name="viewport" content="width=device-width, initial-scale=1"><style>body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}</style><body><div><h1>Example Domain</h1><p>This domain is for use in documentation examples without needing permission. Avoid use in operations.<p><a href="https://iana.org/domains/example">Learn more</a></div></body></html>
0
https://example.com
Metadata
Metadata
Assignees
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.
Activity
dogancanbakir commentedon Jan 5, 2026
@a8i-lab What's the output for
ls /home/user/directory1/resolvers/resolvers-trusted.txt?learner960 commentedon Jan 5, 2026
ls /home/user/directory1/resolvers/resolvers-trusted.txt
/home/user/directory1/resolvers/resolvers-trusted.txt
i searched for why the issue occurs but there is no permission issues or file path issues. i also run 'dnsx -r' with the same path and encounter no issue there.
even after updating to your pull request, the issue persist.
dogancanbakir commentedon Feb 4, 2026
@a8i-lab made a small change. Could you take a look?
learner960 commentedon Feb 4, 2026
looks like the issue is solved! have a great day!
dogancanbakir commentedon Feb 4, 2026
I'll close the issue once it's merged
learner960 commentedon Feb 5, 2026
learner960 commentedon Feb 6, 2026
i recently discovered that the issue is solved only partially because when i type - 'httpx -u example.com -r /home/user/directory1/resolvers/resolvers-trusted.txt -v -debug' the tool performs correctly as intended.
but when i type - 'httpx -u example.com -r /home/user/directory1/resolvers-trusted.txt -v -debug' (meaning i have the text file in directory1) then the tool is giving error message - '[DBG] Failed 'http://example.com': Get "http://example.com": cause="no address found for host"'
it is the same error message we saw previously.