From 9ae05bb1e082577858e9f51e04f8ef0c7cb25383 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 29 Sep 2022 15:00:15 +0200 Subject: [PATCH] DOC: management: httpclient can resolve server names in URLs The httpclient does support DNS resolution since 2.6. Must be backported to 2.6. --- doc/management.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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