From: William Lallemand Date: Thu, 29 Sep 2022 13:00:15 +0000 (+0200) Subject: DOC: management: httpclient can resolve server names in URLs X-Git-Tag: v2.7-dev7~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ae05bb1e082577858e9f51e04f8ef0c7cb25383;p=thirdparty%2Fhaproxy.git DOC: management: httpclient can resolve server names in URLs The httpclient does support DNS resolution since 2.6. Must be backported to 2.6. --- diff --git a/doc/management.txt b/doc/management.txt index 3b3b26af4d..5482a9bef8 100644 --- a/doc/management.txt +++ b/doc/management.txt @@ -2145,8 +2145,11 @@ help [] httpclient 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 Create a new empty CA file tree entry to be filled with a set of CA