Piz*_*zza 2 networking ubuntu dns webserver curl
我现在使用 curl 一段时间来调试我的非生产网络服务。
当我使用该--dns-servers选项时,我总是收到一条错误消息,指出找不到此功能:
curl --dns-servers _MY_DNS_SERVER_IP_ https://_MY_DOMAINS_
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Run Code Online (Sandbox Code Playgroud)
我的 curl 版本是 7.47.0,在 Ubuntu 16.04 桌面上运行。
从 curl 手册页(关于--dns-servers选项):
This option requires that libcurl was built with a resolver backend that supports this operation.
The c-ares backend is the only such one. (Added in 7.33.0)
Run Code Online (Sandbox Code Playgroud)
是否需要安装另一个 curl 包,或者我错过了一些可选的依赖项?
任何提示似乎是什么问题?
| 归档时间: |
|
| 查看次数: |
1320 次 |
| 最近记录: |