From ecfa18dda64db46f5e4285b9beef82ce09139bf2 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Mon, 7 Aug 2017 17:30:03 +0200 Subject: [PATCH] MINOR: doc: Document SRV label usage. --- doc/configuration.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index f46743875..731b2857e 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -11637,6 +11637,13 @@ A few other events can trigger a name resolution at run time: because the server has a new IP address. So we need to trigger a name resolution to know this new IP. +When using resolvers, the server name can either be a hostname, or s SRV label. +HAProxy considers anything that starts with an underscore a SRV label. +If a SRV label is specified, then the corresponding SRV records will be +retrieved from the DNS server, and the provided hostnames will be used. The +SRV label will be checked periodically, and if any server are added or removed, +haproxy will automatically do the same. + A few things important to notice: - all the name servers are queried in the mean time. HAProxy will process the first valid response.