DOC: management: httpclient can resolve server names in URLs

The httpclient does support DNS resolution since 2.6.

Must be backported to 2.6.
This commit is contained in:
William Lallemand 2022-09-29 15:00:15 +02:00
parent bcbcf98e0c
commit 9ae05bb1e0
1 changed files with 5 additions and 2 deletions

View File

@ -2145,8 +2145,11 @@ help [<command>]
httpclient <method> <URI>
Launch an HTTP client request and print the response on the CLI. Only
supported on a CLI connection running in expert mode (see "expert-mode on").
It's only meant for debugging. It currently can't resolve FQDN so your URI must
contains an IP.
It's only meant for debugging. The httpclient is able to resolve a server
name in the URL using the "default" resolvers section, which is populated
with the DNS servers of your /etc/resolv.conf by default. However it won't be
able to resolve an host from /etc/hosts if you don't use a local dns daemon
which can resolve those.
new ssl ca-file <cafile>
Create a new empty CA file tree entry to be filled with a set of CA