ProxyChains-3.1 (http://proxychains.sf.net) |DNS-request| www.httpbin.org |S-chain|-<>-192.168.23.129:10808-<--timeout |S-chain|-<>-192.168.23.129:10808-<--timeout |S-chain|-<>-192.168.23.129:10808-<--timeout |DNS-response|: www.httpbin.org does not exist curl: (6) Could not resolve host: www.httpbin.org
时间: 2024-02-19 09:00:07 浏览: 54
从错误信息看,可能是由于 DNS 解析问题导致的无法连接到 `www.httpbin.org`。您可以尝试在 `proxychains.conf` 文件中设置其他的 DNS 解析服务器,如 Google 的 DNS 服务器:
```
# 在 proxychains.conf 文件中添加以下内容
[ProxyList]
# 添加以下行
dns_server = 8.8.8.8
```
然后再次尝试使用 ProxyChains 进行访问,看是否能够正常工作。
相关问题
使用proxychains代理时报错:!!!need more proxies!!!解决办法
当使用proxychains代理时,出现"!!!need more proxies!!!"错误的原因是代理链中的代理数量不足。解决这个问题的方法是添加足够的代理来构建一个完整的代理链。
以下是解决这个问题的步骤:
1. 首先,确保你已经正确安装了proxychains,并且配置文件已经正确设置。你可以通过编辑proxychains配置文件来添加代理。配置文件通常位于/etc/proxychains.conf或~/.proxychains/proxychains.conf。
2. 打开配置文件,在[ProxyList]部分添加你想要使用的代理。你可以添加多个代理,每个代理占据一行。代理的格式通常是"类型 IP地址 端口号"。例如,"socks5 127.0.0.1 1080"表示使用SOCKS5类型的代理,地址是127.0.0.1,端口号是1080。
3. 添加足够的代理以构建一个完整的代理链。代理链的长度取决于你的需求。通常,至少需要两个代理来构建一个有效的代理链。
4. 保存配置文件,并重新启动你正在使用proxychains的应用程序。
通过按照上述步骤添加足够的代理,你应该能够解决"!!!need more proxies!!!"错误并成功使用proxychains进行代理。请记住,使用代理时要遵守相关的法律和规定,并确保你有合法访问这些代理的权限。
# proxychains.conf VER 3.1 # # HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS. # # The option below identifies how the ProxyList is treated. # only one option should be uncommented at time, # otherwise the last appearing option will be accepted # #dynamic_chain # # Dynamic - Each connection will be done via chained proxies # all proxies chained in the order as they appear in the list # at least one proxy must be online to play in chain # (dead proxies are skipped) # otherwise EINTR is returned to the app # strict_chain # # Strict - Each connection will be done via chained proxies # all proxies chained in the order as they appear in the list # all proxies must be online to play in chain # otherwise EINTR is returned to the app # #random_chain # # Random - Each connection will be done via random proxy # (or proxy chain, see chain_len) from the list. # this option is good to test your IDS :) # Make sense only if random_chain #chain_len = 2 # Quiet mode (no output from library) #quiet_mode # Proxy DNS requests - no leak for DNS data proxy_dns # Some timeouts in milliseconds tcp_read_time_out 15000 tcp_connect_time_out 8000 # ProxyList format # type host port [user pass] # (values separated by 'tab' or 'blank') # # # Examples: # # socks5 192.168.67.78 1080 lamer secret # http 192.168.89.3 8080 justu hidden # socks4 192.168.1.49 1080 # http 192.168.39.93 8080 # # # proxy types: http, socks4, socks5 # ( auth types supported: "basic"-http "user/pass"-socks ) # [ProxyList] # add proxy here ... # meanwile # defaults set to "tor" socks5 192.168.23.15 10808 dns_server = 8.8.8.8
从您提供的 `proxychains.conf` 文件来看,您已经设置了 DNS 服务器为 Google 的 DNS 服务器 `8.8.8.8`。但是在执行命令时仍然提示无法解析域名。这种情况下,您可以尝试使用其他可用的 DNS 服务器地址,比如阿里云的 DNS 服务器地址 `223.5.5.5` 和 `223.6.6.6`,或者使用默认的 DNS 服务器。您可以在 `proxychains.conf` 文件中将 `dns_server` 设置为以下之一:
```
# 使用阿里云的 DNS 服务器
dns_server = 223.5.5.5
dns_server = 223.6.6.6
# 使用默认的 DNS 服务器
# dns_server =
```
然后重新执行命令,看是否能够正常工作。